Unchanged Mail Merge Main Document Prompts to Save Changes

ID: Q115273


The information in this article applies to:
  • Microsoft Word for Windows, versions 6.0, 6.0a


SYMPTOMS

When closing a Word for Windows mail merge main document, you may be prompted to save the changes even though you made no changes to the document.


CAUSE

In Word 6.0, this is by design. This prompt occurs because Word automatically updates MERGEFIELD fields when it opens a mail merge document. When Word updates the MERGEFIELDs, the file is marked as "dirty" or changed.


RESOLUTION

This could become an issue when you open and close mail merge main documents using a macro. To avoid the display of the File Close dialog box, modify any FileClose commands to read:


   fileclose 1  'save the changes without prompting the user 
-or-

   fileclose 2  'Close without saving the changes 

Additional query words: 6.00a merge field word6 winword

Keywords : kbprint kbmerge
Version : WINDOWS:6.0,6.0a
Platform : WINDOWS
Issue type :


Last Reviewed: December 29, 1999
© 2000 Microsoft Corporation. All rights reserved. Terms of Use.