Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing a tick to a word document

Status
Not open for further replies.

UHNSTrust

Technical User
Dec 2, 2003
262
GB
I am trying to complete a word document and pass values to bookmarks (CustomDocumentProperties). One of the bookmarks is a field that needs a tick and not a text string.

Can anybody help on how to pass a tick symbol to a bookmark?

Thanks

Jonathan
 
It's a while since I did Word automation so I can't reel off the code, but in principle you need to pass a character Alt-0252 to Word and format it as Windings. There are other character/font options to get a tick.
 
Lupins46 - Thanks for the reply.

I can do all the rest except I am unsure of passing the Alt-0252 character. I can pass a string or Chr(?).

Could you elaborate?

Thanks again

Jonathan
 
Have you tried to set the field value to True ?

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top