If you look really carefully when you close the merged document and/or
switch back to the mail merge main document, you may be able to see a
message flashing in the status bar saying "reading record 1" or some such.
Well, I can see it with Word 2000 as I have a rather slow old machine :-)
But in essence, Word isre-fetching the data for the "current record" and
plugging it into the document,which will "dirty" the document even if the
data is the same as before. I don't suppose it has to do this, but it does.
If you open your mailmerge main document and use the mailmerge toolbar to
preview a different record, then try to close the document, you will
probably see the same thing.

Signature
Peter Jamieson
> Can someone tell me why I am being prompted to save my
> Mail Merge document when I have made no changes to it?
[quoted text clipped - 13 lines]
> made no changes to it? Is there some kind of changes
> going on in the background that I am not aware of?
Tony_VBACoder - 02 Sep 2004 20:34 GMT
Peter, I also noticed that the Mail Merge Toolbar appears
loaded, whereas when I first opened the document, it
wasn't. So I thought it had something to do with
displaying the Mail Merge Toolbar even though I did not
load it.
So how do I get around having to answer "No" to the Save
As dialog? Or better yet, how can I close this document
behind the scenes, so that the user does not have to
answer this question? I am assuming if I destroy/close
the Word object I am using in VBA code to reference this
document, I will essentially be saving the document?
>-----Original Message-----
>If you look really carefully when you close the merged document and/or
[quoted text clipped - 27 lines]
>
>.
Peter Jamieson - 02 Sep 2004 21:27 GMT
> Or better yet, how can I close this document
> behind the scenes, so that the user does not have to
> answer this question?
Have you tried
ActiveDocument.Close savechanges:=wdDoNotSaveChanges
(or
oDocument.Close savechanges:=wdDoNotSaveChanges
where oDocument is the relevant document object)
?

Signature
Peter Jamieson
> Peter, I also noticed that the Mail Merge Toolbar appears
> loaded, whereas when I first opened the document, it
[quoted text clipped - 53 lines]
> >
> >.