Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
OLE to Word (Saving a file)
Message
 
 
À
19/10/1998 17:34:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00148244
Message ID:
00148300
Vues:
24
Mike,

Sorry, there was a small typo in the code, I was paraphrasing some running code and missed it.

SaveAs is a method of Document so you have to have a document reference to use it like oWord.ActiveDocument or what's returned:

oDoc = oWord.Documents.Add()
oDoc.SaveAs()

>That is the first thing I tried an I get an OLE error on the SAVEAS
>I am using the createobject of "word.application"
>Does this work for you?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform