Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 05-09-2017, 06:46 AM
dustydream dustydream is offline Merge with multiple lines Windows 7 32bit Merge with multiple lines Office 2016
Novice
Merge with multiple lines
 
Join Date: May 2017
Posts: 1
dustydream is on a distinguished road
Default 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
Reply With Quote
  #2  
Old 05-09-2017, 07:14 AM
gmayor's Avatar
gmayor gmayor is offline Merge with multiple lines Windows 10 Merge with multiple lines Office 2016
Expert
 
Join Date: Aug 2014
Posts: 4,101
gmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud ofgmayor has much to be proud of
Default

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
Reply With Quote
  #3  
Old 05-09-2017, 06:01 PM
macropod's Avatar
macropod macropod is offline Merge with multiple lines Windows 7 64bit Merge with multiple lines Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Merge with multiple lines Copying multiple lines in a table Surge Word 3 09-19-2015 04:01 AM
Merge with multiple lines 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

Other Forums: Access Forums

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


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft