Yes. FWIW, if you:
1. save it in your mailmerge main document (which means using the .doc or .docm format)
2. rename the macro to MailMergeToDoc
3. insert the line:
ThisDocument.MailMerge.Execute Pause:=False
after:
Dim oPara As Paragraph
the macro will run automatically when you click on the 'Edit Individual Documents' button.
PS: When posting code, please use the code tags, indicated by the # button on the posting menu. Without them, your code loses much of whatever structure it had.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|