#1
|
|||
|
|||
Combing multiple records to one email
Hey guys,
I've attached a sample chart that I'm trying to use mail merge to email out to my employees. While, I can use the mail merge function, the issue I'm having is since I have multiple records for the same person, they are receiving multiple emails. Is there a way I can combine records based on a specific field and send all of those to one email? Attached is an example excel file I'll be using to send the mail merge and a word document as an example of the email that John Doe would receive based on the mail merge. Thanks for the help! |
#2
|
||||
|
||||
See http://www.gmayor.com/ManyToOne.htm which will do that, either as an attachment or as the body of an e-mail message.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#3
|
||||
|
||||
You can also use Word's Catalogue/Directory Mailmerge facility for this (the terminology depends on the Word version). To see how to do so with any mailmerge data source supported by Word, check out my Microsoft Word Catalogue/Directory Mailmerge Tutorial:
https://www.msofficeforums.com/mail-...-tutorial.html The tutorial covers everything from list creation to the insertion & calculation of values in multi-record tables in letters. Do read the tutorial before trying to use the mailmerge document included with it. The field coding for this is complex. Email merges are more complex still. However, since the tutorial document includes working field codes for all of its examples (and macro code for the emailing), most of the hard work has already been done for you. For some worked examples, see the attachments to the posts at: https://www.msofficeforums.com/mail-...html#post23345 https://www.msofficeforums.com/mail-...html#post30327 Another option would be to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An example of this approach can be found at: Many to one email merge using tables - Microsoft Community
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Multiple Records Mail Merge using Email | Skybluekid | Mail Merge | 1 | 03-28-2016 02:33 PM |
Multiple records per document | peterkp | Mail Merge | 16 | 06-26-2014 06:03 PM |
Multiple records on the same page | Hugh | Mail Merge | 2 | 04-04-2014 05:24 PM |
How can I retreive multiple records using a lookup? | jrpey | Excel | 3 | 11-14-2011 02:10 PM |
Help with consolidating multiple records into one | wbiggs2 | Excel | 0 | 11-30-2006 01:02 PM |