After opening one .dot and launching text macro, when I want to close document, it asks for save or don't save document. I never don't want save it. What command I can write into for it? Ty.
Sry for my English
Printable View
After opening one .dot and launching text macro, when I want to close document, it asks for save or don't save document. I never don't want save it. What command I can write into for it? Ty.
Sry for my English
Can't you open via read only?
Or set the read only on the .dot file?
possibly
application.displayalerts = false
or depending on what close method you are using ...
.Close SaveChanges:=False
or a version of that may work...
OK. Thanks, I will test it.
I have next question, what doing: Dim strDocEncoding As String?
Quote:
Originally Posted by jesy
What is that line doing?
If that's your question, that line declares a variable named strDocEncoding as a String.