Reply
 
Thread Tools Display Modes
  #1   Report Post  
sebmailmerge
 
Posts: n/a
Default How do I get multiple Excel rows merged into Word document when ..

Trying to create letters using Word's Mail Merge and Excell Spreadsheet as
data source. When multiple spreadsheet rows pertain to the same individual,
I need all of the rows associated with same individual (name column) to be
placed in one document only. In other words, How do I get multiple Excell
rows merged into one Word Document as oppposed to one row per document.
Basically I need rows that pertain to one individual merged onto one
document. When the name column changes, the new row should be palced on a
different document.
  #2   Report Post  
Peter Jamieson
 
Posts: n/a
Default

Word isn't designed to do this. Some approaches are described at

http://homepage.swissonline.ch/cindymeister/

Look for Mail Merge FAQ, Special Merges, Multiple items per condition.

The DATABASE field approach mentioned there is unlikely to be useful in this
case.

Peter Jamieson

"sebmailmerge" wrote in message
news
Trying to create letters using Word's Mail Merge and Excell Spreadsheet as
data source. When multiple spreadsheet rows pertain to the same
individual,
I need all of the rows associated with same individual (name column) to be
placed in one document only. In other words, How do I get multiple
Excell
rows merged into one Word Document as oppposed to one row per document.
Basically I need rows that pertain to one individual merged onto one
document. When the name column changes, the new row should be palced on
a
different document.



  #3   Report Post  
 
Posts: n/a
Default

You can do this pretty well using a macro that handles merge events in
the mail merge template. I have a mail merge that has a word table in
each letter that may contain more than one row. I just handle the
MailMergeAfterRecordMerge event, and check my datasource for additional
rows that may need to be inserted into the table. It's in VBA so it's a
little clunky, but it works.

I gave up on MailMergeBeforeRecordMerge Cancel option as it always
seems to cancel the entire merge.

_Randal

Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM
Locking Two Words Together to Make a Proper Compound Noun in Word WorkingWoman Microsoft Word Help 2 April 7th 05 02:33 PM
Wordperfect Office 2000 conversion to Word 2003 MikeE New Users 1 March 21st 05 12:04 AM
Converted document from WordPerfect. New footnotes are not being. C Lowman Microsoft Word Help 1 January 26th 05 10:19 PM
word xp crashes after macros are recorded kharris0405 Microsoft Word Help 3 January 11th 05 10:50 PM


All times are GMT +1. The time now is 10:50 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"