A document variable is a storage location within a document, which is saved
in the disk file along with the rest of the document. The only way to
create, modify, or delete document variables is with macro (VBA)
programming. You can use a DOCVARIABLE field to display the current value of
a document variable in the document's text.
The description of creating and using document variables is in the VBA help
topics about the Variable object and the Variables collection that lists all
the variables in the document. If you don't have the VBA help installed, you
can read the topics on the website:
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.