View Single Post
  #1   Report Post  
Wordmerger Wordmerger is offline
Junior Member
 
Posts: 6
Unhappy start macro (in merged doc) after mailmerge

Hello,
I created a Word (2007) template .dotm, that is merged with a data file.
I merge to a new Word document.
The template contains a macro.

Word should execute the macro automatically in the new (merged) document (to fix some layout issues).
The new document is not based on the template (as it should be), but on Normal.dotm and the macro is not available in this document.

The macro should only start in the merged document and not in any other documents.

Has anybody got a clue as to how to solve this problem?

Thanks in advance.