mail merge using two data sources

N

Nathan

How can i insert data from two different Excel files into the same mail merge
word document?
 
P

Peter Jamieson

Mail Merge is only designed to use a single data source.

What to do if you have more than one depends at least in part on
a. what the relationship between the two data sources is, and what you are
trying to produce (e.g. are you doing a "one-to-many" merge where one data
source has one record (such as "Customer") and the other has multiple
records for that Customer? Or do your two data sources each have one record
per Customer (or whatever)? Or maybe you have a main data source and you
need to pull in a couple of items from somewhere else, in which case
http://tips.pjmsn.me.uk/t0004.htm might help)
b. what the data sources are, and the options available for joining them
together. e.g. you can do some stuff with Excel workbooks and tables using
the Access/Jet driver/provider and some SQL. Or you can write code to turn
your two data sources into a single data source. Or you can do the same
thing manually before mergeing.
c. whether you can use Word VBA and Word's Mailmerge events to do what you
need.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top