Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 09-10-2018, 05:03 AM
macropod's Avatar
macropod macropod is offline VBA code not in module of new document produced by mail merge Windows 7 64bit VBA code not in module of new document produced by mail merge Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,467
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

That is to be expected. Your code should be stored in the template your mailmerge main document is based on. That way, the code will be available to both the mailmerge main document and any output documents you produce from it.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
VBA code not in module of new document produced by mail merge VBA Code to automatically complete mail-merge document for upto 200 recipients etcib Excel Programming 3 04-23-2018 02:23 PM
VBA code not in module of new document produced by mail merge Mail Merge Code Issue Andrewwill Mail Merge 6 01-06-2018 10:25 PM
VBA code not in module of new document produced by mail merge Inserting code line in Word Module mihnea96 Excel Programming 2 08-15-2017 04:57 AM
Macro to loop through all cells in a table produced by a mail merge elh52 Word VBA 4 08-31-2014 10:50 PM
Mail merge Field Code Manipulation macjnr Mail Merge 0 09-10-2009 11:37 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:37 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft