Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get all DocVariable from a .DOC
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00684516
Message ID:
00684590
Vues:
16
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?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform