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