Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get all DocVariable from a .DOC
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00684516
Message ID:
00684590
Views:
19
This message has been marked as the solution to the initial question of the thread.
Something like this:
for ia=1 to oWord.ActiveDocument.Variables.Count
?oWord.ActiveDocument.Variables(ia).VAlue
?oWord.ActiveDocument.Variables(ia).Name
endfor



>In Word you can add DocVariable then you can do this.
>
>toWord = CreateObject("application.word")
>...
>toWord.ActiveDocument.Variables("Client.ICID").Value=Client.ICID
>toWord.ActiveDocument.Fields.Update
>
>
>I like to get from the Word Document all of the DocVariables so I can write a generic wait to update my template.
>Is there in Word a OLE method that will help me do this?
Previous
Reply
Map
View

Click here to load this message in the networking platform