General information
Category:
COM/DCOM and OLE Automation
Title:
MS Word File - SavingAS
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only