Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Word macro?
Message
From
20/06/2000 07:55:13
 
 
To
20/06/2000 03:06:01
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Miscellaneous
Thread ID:
00382080
Message ID:
00382119
Views:
21
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform