Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Coding syntax for OLE automation
Message
De
21/05/2003 14:17:30
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
Coding syntax for OLE automation
Divers
Thread ID:
00791218
Message ID:
00791218
Vues:
58
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"
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform