Unchanged Mail Merge Main Document Prompts to Save Changes

Last reviewed: February 5, 1998
Article ID: Q115273
6.00 6.00a WINDOWS
 kbmacro

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


KBCategory: kbmacro
KBSubcategory: kbmerge
Additional reference words: 6.00 6.00a merge field word6
winword
Keywords : kbmerge kbprint kbmacro
Version : 6.00 6.00a
Platform : WINDOWS


THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES SO THE FOREGOING LIMITATION MAY NOT APPLY.

Last reviewed: February 5, 1998
© 1998 Microsoft Corporation. All rights reserved. Terms of Use.