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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Getting List of {DOCVARIABLE } Using Visual Basic

Status
Not open for further replies.

ninja800

Programmer
Joined
Jul 22, 2003
Messages
8
Location
US
I have a microsoft word template that has couple of
{DOCVARIABLE}. I need to get the collection of all the
variables but when I try to use "For Each aVar In
ActiveDocument.Variables" it doesn't even go inside the
loop. I need want to use select case statement to loop
through list of docvariables but I don't know how to do
it. Any help will be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top