Why, when I close a document, does Word 2002 always ask me to sav.

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Whenever I open a word document sent to me as an email attachment, when I try
to close the document, Word 2002 always asks me if I want to save my changes,
even if I have not made any. Why is this and can I turn this off?
 
Hi =?Utf-8?B?bWxlZmVidnJl?=,
Whenever I open a word document sent to me as an email attachment, when I try
to close the document, Word 2002 always asks me if I want to save my changes,
even if I have not made any. Why is this and can I turn this off?
The document may contain some fields (such as page numbers) that are updating; .
This will "dirty" the document, thus Word asks if you want to save. I know of no
way to stop this happening from your end, although you could, conceivably, use a
macro for closing that would ignore the "dirty" state. You'd want to be very
careful with it, however, as it would result in a complete editing loss if you
used it with a "real" document:

Sub CloseWithoutPrompt()
ActiveDocument.Close wdDoNotSaveChanges
End Sub

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Back
Top