Unchanged Mail Merge Main Document Prompts to Save Changes

ID: Q115273

6.00 6.00a WINDOWS

 kbmacro

The information in this article applies to:

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          : kbprint kbmerge 
Version           : 6.00 6.00a
Platform          : WINDOWS

Last Reviewed: February 6, 1998