Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Saving as Word doc
Message
From
04/04/2000 15:46:11
 
 
To
04/04/2000 14:44:30
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Miscellaneous
Thread ID:
00355154
Message ID:
00355213
Views:
15
If oWord is your Word instance, then:

oWord.ActiveDocument.SaveAs("54947.doc",0,.T.,"",.T.,"",.F.,.F.,.F.,.F.,.F.)

But I think everything after the document name is the default so,

oWord.ActiveDocument.SaveAS("54947.doc")

Works the same.



>.ActiveDocument.SaveAs FileName:="54947.doc", format:=wdFormatDocument, _LockComments:=False, Password:="", AddToRecentFiles:=True, WritePassword _:="", ReadOnlyRecommended:=False, EmbedTrueTypeFonts:=False,
>_SaveNativePictureFormat:=False, SaveFormsData:=False, SaveAsAOCELetter:= _False
>
>
> .ActiveWindow.Close
>
>Any suggestions?
>Tom Welch
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Previous
Reply
Map
View

Click here to load this message in the networking platform