Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
OLE to Word (Saving a file)
Message
 
 
To
19/10/1998 17:34:11
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00148244
Message ID:
00148300
Views:
23
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
Previous
Reply
Map
View

Click here to load this message in the networking platform