Hi Doug,
I can't find the MailMerge Event in the example on Grahams site.
Besides, I wonder if this would solve my problem.
The only thing I want is that a macro is executed automatically after the MailMerge (in the merged document).
I used the field MacroButton in the main document (a template), but this causes to run the macro in the main document.
I want the macro to run automatically in the merged document.
The merged document is always (?) based on Normal.dotm which doesn't contain the macro. It would be easier if the merged document would be based on the template of the main document, because in that situation I could create an AutoExec macro.
Now this is of course not an option since the merged document is based on Normal.dotm and I don't want all new documents to run this macro.
Until I find a better solution, I'll copy the macro to their Normal.dotm and ask my users to click a macro button after the mailmerge.
Not very elegant, but at least it works.
Thanks so far!
Quote:
Originally Posted by Doug Robbins - Word MVP
|