Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP calling procedures/functions in a WORD template
Message
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00425008
Message ID:
00425088
Views:
33
>>Application.Run "Normal.Module1.MAIN"
>this will not work on protected documents.
>
>Using oWord.activedocument.unprotect() does some weird things to FormFields and their content....

Than try older method - oWord.WordBasic.Call(). This should work to call macro by its name only when macro is currently loaded with normal template or some document. I don't know exact syntax, however, don't have old Word Basic commands help nearbly.
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform