#1
|
|||
|
|||
Mail Merge with Mulitple Rows
Hi,
I have been working on this for more than 4 hours and reviewed so many formulas online. I need to create a mail merger with multiple rows. Here is the sample data, I have more than 700 individual employees on the sheet. I need to show on one page per employee all the applicable Bonus plan, their respective vesting date and amount paid. I am very confused with "Key", if someone can help me what i can plug(copy/paste) to make this work in template. I have the mail merge set up as directory. Thank you very much |
#2
|
||||
|
||||
You can 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. Depending on what you're trying to achieve, the field coding for this can be complex. However, since the tutorial document includes working field codes for all of its examples, most of the hard work has already been done for you - you should be able to do little more than copy/paste the relevant field codes into your own mailmerge main document, substitute/insert your own field names and adjust the formatting to get the results you desire. 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 Conversely, if your workbook has a separate sheet with just a single instance of each of the grouping criteria, a DATABASE field in a normal ‘letter’ mailmerge main document could be used without the need for a macro. For an example of that, see: Mail Merge - To a Word Table on a Single Page - Microsoft Community The DATABASE field can even be used without recourse to a mailmerge. An example of such usage can be found at: https://www.msofficeforums.com/mail-...html#post67097 Alternatively, you may want to try one of the Many-to-One Mail Merge add-ins, from: Graham Mayor at Merge Many To One or Doug Robbins at http://bit.ly/1hduSCB
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
Yes I looked in these tutorial and still lost. Thank you
|
#4
|
||||
|
||||
Try http://www.gmayor.com/ManyToOne.htm If you remove the empty first row from your worksheet, then the key field is the ID in the first column, i.e. it is common to several consecutive records. The Child fields are those that you wish to repeat i.e. columns E,F & G. Put those fields in a single row of a table (see examples on the web page) and set the document merge type to Letters.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
#5
|
|||
|
|||
Thank you for you help. i will check out the website.
|
#6
|
||||
|
||||
Which was one of the links I provided - along with a bunch of others I'd now have to wonder whether you looked at...
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
it was the link that gmayor provided. I am still figuring how to download the addin
http://www.gmayor.com/ManyToOne.htm |
#8
|
||||
|
||||
The instructions are in the zip file and on the web page.
__________________
Graham Mayor - MS MVP (Word) (2002-2019) Visit my web site for more programming tips and ready made processes www.gmayor.com |
Thread Tools | |
Display Modes | |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How do I mail merge multiple rows into one letter? | SusiLouhh | Mail Merge | 1 | 03-17-2017 09:03 PM |
mail merge multiple rows within a grouping | tracygleghorn | Mail Merge | 12 | 11-12-2015 06:43 AM |
Mail merge into table with two colums and several rows | kathriiin | Mail Merge | 3 | 03-30-2015 07:06 AM |
Easy mail merge but want to suppress rows | ClaireAMAdams | Mail Merge | 5 | 04-30-2013 02:43 PM |
Mail Merge multiple rows? | ender541 | Mail Merge | 1 | 08-21-2012 03:14 PM |