Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Multiple Line Mail Merge
My data source has 4 or more rows of data for each record of my mail merge.
How can I set up the mail merge to grab more than 1 row of data (it needs to be flexible) into 1 mail merged document. For example... 1 Record: Customer A 123456 Address City State Customer A 234561 Address City State Customer A 345612 Address City State Need it to come onto the letter like: Customer A Address City State 123456 234561 345612 |
#2
Posted to microsoft.public.word.docmanagement
|
|||
|
|||
Multiple Line Mail Merge
See "Use Mail Merge to Create a List Sorted by Category in Word 2000":
http://support.microsoft.com/?kbid=211303 The following field code construction works better (and is simpler) than the one there, though: {QUOTE{IF{MERGESEQ}= 1 {SET Place ""}}"{IF{MERGEFIELD City} {Place} "{IF{MERGESEQ}= 1 "" "ENTER "}{MERGEFIELD City}{SET Place {MERGEFIELD City}}ENTER ENTER "}{MERGEFIELD Employee}TAB{MERGEFIELD Sales}ENTER "}ENTER The problem with the field code in the KB article is that it inserts an extra line between the records when an Excel workbook is used as the data source. -- Cheers macropod [MVP - Microsoft Word] "Glitter" wrote in message ... My data source has 4 or more rows of data for each record of my mail merge. How can I set up the mail merge to grab more than 1 row of data (it needs to be flexible) into 1 mail merged document. For example... 1 Record: Customer A 123456 Address City State Customer A 234561 Address City State Customer A 345612 Address City State Need it to come onto the letter like: Customer A Address City State 123456 234561 345612 |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
mail merge multiple transactions | Mailmerge | |||
Mail-Merge: Can we have master detail relationship or multiple entities in word Mail-Merge? | Microsoft Word Help | |||
Multiple entries in mail merge | Mailmerge | |||
mail merge - different line of address on a separate line | Microsoft Word Help | |||
mail merge to multiple files instead of 1 | Mailmerge |