Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Mailmerge and Fax / December 2005

Tip: Looking for answers? Try searching our database.

Merging multiple rows in Excel to one word document.

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
pammygamherst - 22 Dec 2005 13:48 GMT
I have an Excel document that is tracking actions for a person.  Each person
has multiple rows (each row holds one unique action id).  When I merge in
Word the number of documents created for each person is equal to the number
of rows that person has in the Excel file.  For example, one person has 7
rows and then when merged 7 documents are created and the documents contain
actions that are not associated with that person.
The way I got around this before was creating a table in Access, not Excel,
and giving each action id a unique field identifier (creating a one-liner for
each person) then I used that table for my word document merge template and
the data merged successfully.  Is there a way to do this in Excel or another
way?  I am using a relational database and an internal reporting tool within
that database to extract the data initially, then using a database query in
Excel to retrieve into Excel.
Cindy M  -WordMVP- - 25 Dec 2005 08:51 GMT
Hi =?Utf-8?B?cGFtbXlnYW1oZXJzdA==?=,

On my website you'll find a short discussion of the "one-to-many" problem, with
three possible approaches, and links to sample files. Given your description,
I'd say try the database field approach, first.

> I have an Excel document that is tracking actions for a person.  Each person
> has multiple rows (each row holds one unique action id).  When I merge in
[quoted text clipped - 9 lines]
> that database to extract the data initially, then using a database query in
> Excel to retrieve into Excel.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 8 2004)
http://www.word.mvps.org

This reply is posted in the Newsgroup; please post any follow question or reply
in the newsgroup and not by e-mail :-)
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.