Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Word macro?
Message
De
20/06/2000 07:55:13
 
 
À
20/06/2000 03:06:01
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Divers
Thread ID:
00382080
Message ID:
00382119
Vues:
19
>Hello
>How can I call from VFP Word's macro?
>

As soon as I sent it, I realized my answer was a little misleading. You'll probably want to do something about opening or creating a document in between starting Word and running the macro:

oWord = CreateObject("Word.Application")
oWord.Documents.Open()
oWord.Run("MyMacro") && where the macro is contained in the document

Tamar
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform