Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Saving as Word doc
Message
De
04/04/2000 15:46:11
 
 
À
04/04/2000 14:44:30
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Divers
Thread ID:
00355154
Message ID:
00355213
Vues:
16
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform