Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MS Word File - SavingAS
Message
From
02/08/2001 15:58:48
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
MS Word File - SavingAS
Miscellaneous
Thread ID:
00539064
Message ID:
00539064
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform