Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Coding syntax for OLE automation
Message
From
21/05/2003 14:17:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Coding syntax for OLE automation
Miscellaneous
Thread ID:
00791218
Message ID:
00791218
Views:
57
hi all,

i am trying to use OLE automation (with WORD97/WORD2000) to alter the text matter on every page footer of a word document since the footer text isn't the same for all the pages. by using the macro feature in WORD and editing the macro i have the visual basic code but i do not know the equivalent code in VFP6.0 for the following visual basic line of code -

Selection.HeaderFooter.LinkToPrevious = Not Selection.HeaderFooter.LinkToPrevious

can someone please help me in getting the equivalent vfp6.0 code for the above.

with sincere thanks in advance.

p.s.

the error message i get in vfp6.0 is - "Member HEADERFOOTER does not evaluate to an object"
Next
Reply
Map
View

Click here to load this message in the networking platform