Unchanged Mail Merge Main Document Prompts to Save Changes |
Q115273
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.
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.
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
Issue type :
Technology :
|
Last Reviewed: November 4, 2000 © 2001 Microsoft Corporation. All rights reserved. Terms of Use. |