Thread: [Solved] Mailmerge
View Single Post
 
Old 12-05-2011, 03:14 AM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,387
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

Hi wowow,

Did you execute the merge of your Quotation document? The image you posted suggests you're still using the mailmerge main document. If you want to run the macro from the mailmerge main document instead of from the mailmerge output document, you need to:
• add the following lines to the macro after the 'Dim MySubject' line:
' Run the letter mailmerge
ActiveDocument.MailMerge.Execute
• add the following line to the macro after the 'Next j' line:
Source.Close wdDoNotSaveChanges
• save the changes

You can then run the macro.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote