Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need help with word automation syntax
Message
De
25/05/2001 15:08:34
 
 
À
23/05/2001 09:41:44
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00510195
Message ID:
00511675
Vues:
23
I have limited experiance with office automation ( done some stuff with excel ), but I looks to me as though there is an object missing in your line: odoc.activate("execsummain3.doc"). Activate like a method; It's not a collection ( of objects, which the work document is ).

I'm not sure of the collection objects' name for word, but you'll need to find it. the syntax should ( i believe ) be something like:
odoc.WordDocumentCollection("execsummain3.doc").activate where WordDocumentCollection is the name of the Collection holding all the open document files.

hope that helps
- jer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform