#1
|
|||
|
|||
Merge with multiple lines
Hello,
Can someone please help, I've been trawling the internet for far to long trying to find a solution. I'm looking to create a letter using data from excel. The data contains multiple customers with some rows that are the same customer. Those same customers have varying invoice lines. I want a letter to be generated to mail the customer to make them aware of their open invoices, so I want them to group together. E.G my date has the fields Customer number, Customer Name, Address 1,2,3,Invoice number, Date, amount. I'd want to list someone their open invoices in a table if need be, but only get one letter for each customer detailing all their outstanding invoices. Sorry this is hard to put into words! Please help XD |
#2
|
||||
|
||||
This is a many to one mail merge. As your data is in Excel you can use http://www.gmayor.com/ManyToOne.htm to achieve your aims - see the example files included.
__________________
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. 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
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Copying multiple lines in a table | Surge | Word | 3 | 09-19-2015 04:01 AM |
Multiple lines of placeholder text | hanilucida | PowerPoint | 1 | 06-21-2014 05:40 AM |
Multiple Lines on an Invoice | risnasmhd | Mail Merge | 2 | 09-29-2013 08:12 PM |
Different font sizes on multiple lines | ImAhNoBoDy | Word | 4 | 06-22-2012 04:27 PM |
Multiple smoothed lines | Loic | PowerPoint | 0 | 01-28-2011 10:10 AM |