L
LeonidG
I wrote AutoOpen macro that shows or hides the Document Map depending of a
document properties. The macro works properly, but now, when I close any
document, I get a prompt "Do you want to save the changes..." even if I have
changed nothing in the document.
I tried to put "ActiveDocument.Saved = True" as the last command of the
AutoOpen macro, but it doesn't help.
So far I've found a workaround: I put "ActiveDocument.Save" as the last
command of the AutoOpen macro. However, the workaround causes updating a
document's modified time every time when the document is open.
Can anyone suggest a better solution?
document properties. The macro works properly, but now, when I close any
document, I get a prompt "Do you want to save the changes..." even if I have
changed nothing in the document.
I tried to put "ActiveDocument.Saved = True" as the last command of the
AutoOpen macro, but it doesn't help.
So far I've found a workaround: I put "ActiveDocument.Save" as the last
command of the AutoOpen macro. However, the workaround causes updating a
document's modified time every time when the document is open.
Can anyone suggest a better solution?