![]() |
|
#34
|
||||
|
||||
|
Hi toughiv,
I've been rather busy lately with Uni assignments and the like. Your code snippet seems somewhat unrelated to the macro from the tutorial. With the tutorial's approach, all you need do is to add two extra columns after the existing 'Recipient' column, to hold the CC and BCC mergefields, then make a few changes to the macros: 1. In the 'RunMerge' macro, after: .MailAddressFieldName = "Recipient" insert: .CC = "CCRecipient" .BCC = "BCCRecipient" 2. In the EmailMergeTableMaker macro, change: j = 2 to: j = 4 and change: .Cell(1, 2).Range.Text = "Data" to: .Cell(1, 2).Range.Text = "CCRecipient" .Cell(1, 3).Range.Text = "BCCRecipient" .Cell(1, 4).Range.Text = "Data" Your code snippet also suggests you're contemplating individualised email subjects. Doing that, of course presupposes you have a data field for that. If you do have such a field, it's just a matter of extending the above changes to accommodate yet another column in the mailmerge table.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
mail merge in excel to send pdf forms
|
heyullama | Excel | 7 | 12-01-2013 03:32 PM |
| Mail Merge Many URLs in one email by common email address | instantaphex | Mail Merge | 3 | 04-29-2013 05:46 PM |
| Mail Merge to email, changing images on email layout | ginelli | Mail Merge | 18 | 02-23-2013 09:47 AM |
Mail Merge with Booklets is Merging all documents into One stapled Booklet
|
15Degrees | Mail Merge | 1 | 01-31-2013 02:06 AM |
| Send e-mail message in Finish & Merge | CDTom | Mail Merge | 1 | 08-24-2012 12:52 AM |