Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Mail Merge

LinkBack Thread Tools Display Modes
Old 05-09-2017, 06:46 AM
dustydream dustydream is offline Windows 7 32bit Office 2016
Join Date: May 2017
Posts: 1
dustydream is on a distinguished road
Default Merge with multiple lines


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
Reply With Quote
Old 05-09-2017, 07:14 AM
gmayor's Avatar
gmayor gmayor is offline Windows 10 Office 2016
Join Date: Aug 2014
Posts: 2,702
gmayor is just really nicegmayor is just really nicegmayor is just really nicegmayor is just really nice

This is a many to one mail merge. As your data is in Excel you can use to achieve your aims - see the example files included.
Graham Mayor - MS MVP (Word)
Visit my web site for more programming tips and ready made processes
Reply With Quote
Old 05-09-2017, 06:01 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,191
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold

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 at:
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:

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:
Paul Edstein
[MS MVP - Word]
Reply With Quote

Thread Tools
Display Modes

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

All times are GMT -7. The time now is 01:36 PM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc. is not affiliated with Microsoft