Microsoft Office Forums Mail merge multiple rows

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-03-2018, 03:34 AM
eduzs eduzs is offline Mail merge multiple rows Windows 10 Mail merge multiple rows Office 2010 32bit
Competent Performer
Mail merge multiple rows
 
Join Date: May 2017
Posts: 157
eduzs is on a distinguished road
Default Mail merge multiple rows

How to insert a field in a mail merge that returns multiple rows of a same "person" in a worksheet?



Example source worksheet:

Name: City:
A New York
A Miami
B New Orleans
C London
C Paris

In this example the mail merge will result in 3 pages (A, B, C), the merge field "Cities" should return 2 lines (New York and Miami) for A page, 1 line for B (New) Orleans, 2 lines for C (London, Paris), and so on.

This tutorial will work in this case?
http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip

I was using this concatenate sub:
https://www.mrexcel.com/forum/excel-...nate-data.html

But I want to know if there's a way to do that within word mail merge.


Thanks.
__________________
Backup your original file before doing any modification, test in a throwaway copy of your file.
Reply With Quote
  #2  
Old 09-03-2018, 04:04 AM
gmayor's Avatar
gmayor gmayor is offline Mail merge multiple rows Windows 10 Mail merge multiple rows Office 2016
Expert
 
Join Date: Aug 2014
Posts: 2,861
gmayor is just really nicegmayor is just really nicegmayor is just really nicegmayor is just really nice
Default

The short answer to your question is no. If Paul's tutorial isn't suitable then see http://www.gmayor.com/ManyToOne.htm
__________________
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 09-03-2018, 04:35 AM
macropod's Avatar
macropod macropod is offline Mail merge multiple rows Windows 7 64bit Mail merge multiple rows Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,533
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
Default

Quote:
Originally Posted by eduzs View Post
This tutorial will work in this case?
http://www.gmayor.com/Zips/Catalogue%20Mailmerge.zip
Did you try it? The same tutorial is even available on this site: https://www.msofficeforums.com/mail-...-tutorial.html
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 possibility, depending on your data & needs, is to use a DATABASE field in a normal ‘letter’ mailmerge main document and a macro to drive the process. An outline of this approach can be found at: http://answers.microsoft.com/en-us/o...1-1996c14dca5d
Conversely, if you're using a relational database or, Excel workbook with a separate table 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. An outline of this approach can be found at:
https://answers.microsoft.com/en-us/...f-8642e46fa103
For a working example, see:
https://www.msofficeforums.com/mail-...-multiple.html

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
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #4  
Old 09-03-2018, 04:56 AM
eduzs eduzs is offline Mail merge multiple rows Windows 10 Mail merge multiple rows Office 2010 32bit
Competent Performer
Mail merge multiple rows
 
Join Date: May 2017
Posts: 157
eduzs is on a distinguished road
Default

Thanks gmayor and macropod.
I didn't try cause I was thinking that it's only suitable for summation.

I'll take a look at those links and suggestions.
__________________
Backup your original file before doing any modification, test in a throwaway copy of your file.
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Mail merge multiple rows How do I mail merge multiple rows into one letter? SusiLouhh Mail Merge 1 03-17-2017 09:03 PM
Mail merge multiple rows Mail Merge Multiple Rows format issue Peterlar Mail Merge 4 07-14-2016 04:50 AM
Mail merge multiple rows mail merge multiple rows within a grouping tracygleghorn Mail Merge 12 11-12-2015 06:43 AM
Mail Merge Multiple Rows Into One Document Grouped ryano Mail Merge 4 03-23-2015 04:27 PM
Mail merge multiple rows Mail Merge multiple rows? ender541 Mail Merge 1 08-21-2012 03:14 PM


All times are GMT -7. The time now is 10:09 AM.


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