Hi Martin,
The code works with two documents:
1. A 'Source' standard mailmerge output document that contains whatever is to go into the body of each email.
2. A 'Maillist' Catalog/Directory mailmerge output document that contains a table with the email addresses in the first column and the paths to the attachments in the second & subsequent columns.
These two mailmerge output documents need to have their records in the same order, so that the Sections in the 'Source' document match the table rows in the 'Maillist' document.
The 'Source' document should be the ActiveDocument before the macro is run. The 'Maillist' document should not be open when the macro is started - it is opened by you once the macro starts.
If you want to upload some files, you can do so quite easily. Simply click on the Advanced tab, then the paperclip symbol. Then browse to the relevant folder and select the files.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|