DocVariables ??

R

Richie

I am currently working on word docs, and being new to VBA, refer to help
files on and off. Though all these files talk about how to set and retrieve
DocVariable values programmatically.

But I still have no idea how to display that variable on a word doc without
code... i mean what placeholder to use ??

I thought its a bookmark and tried Ctrl + F9 with the Docvariable name, like
we do with bookmarks....but it gives this error

"Bookmark Not Defined"

Any ideas ??
 
J

Jezebel

You use a DocVariable field. Eg, if your variable is called MyVar, then in
the document you'll have a field like { DocVariable MyVar }
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top