Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MS Word File - SavingAS
Message
De
02/08/2001 15:58:48
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
COM/DCOM et OLE Automation
Titre:
MS Word File - SavingAS
Divers
Thread ID:
00539064
Message ID:
00539064
Vues:
44
Hello All,

One of the few things I can't find in Tamar's and Della's book is how to:

.ActiveDocument.SaveAs "c:\myDocu~1\MyLabels.doc", ReadOnlyRecommended:=False

I can save the .dot as a .doc OK but can't clear the "ReadOnly Recommended".

There is probably a numeric parm like (0) to "wdsavewithoutchanges" but I can't find reference to it anywhere - even in the VBA object browser. I thought it might be: "ReadOnlyRecommended=False" but that didn't work. Anyone worked with and resolved this. TIA.

Regards,

Paige


With oWord
.Documents.Open "c:\My Documents\MyLabels.dot"
.ActiveDocument.SaveAs "c:\myDocu~1\MyLabels.doc", ReadOnlyRecommended:=False
.ActiveDocument.Close(0)
.Documents.Open ("c:\myDocu~1\MyLabels.doc")
EndWith
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform