Quote:
Originally Posted by macropod
The prompt is most likely due to the fact that the document was originally opened in one format and is being saved in another but you're not releasing the version in its original format. I would expect Word to behave this way in all versions. All you need do is change:
WW.ActiveDocument.Close
to:
WW.ActiveDocument.Close False
PS: I also note that, although you have:
FileName = "C:\tmp\test.doc
you don't use it in:
WW.activedocument.SaveAs FileFormat:=SaveFormat
|
So are you saying that changing the close statement which is executed after the saveas is going to solve my problem? Since the save dialog is displayed prior to calling the close and the application is waiting for the save dialog to be completed your suggestion doesn't make sense to me.
But like any good newby I tried it which you obviously didn't and it didn't help which was not much of a surprise.
I really appreciate your time and effort in looking at my problem.