View Single Post
 
Old 07-19-2018, 09:58 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote