![]() |
| If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|||||||
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
Is it possible to use two separate sources of data in one mail merge document? I have a mailmerge document that use core data from an Excel worksheet, but also displays statistical information from a second worksheet in the same Excel workbook. If I had to depend on just one worksheet, I would have to replicate the statistical data on all rows of data in the core database. Seems kinda daunting. Jenn -- MaxArk |
| Ads |
|
#2
|
|||
|
|||
|
Mail merge can only use a single flat file as the data source. Therefore,
you are going to need to combine the two Excel spreadsheets to achieve what you are after. An alternative would be to use a "roll-your-own" equivalent to mail merge where you create the mail merge main document as a template with docvariable fields and you write VBA code to iterate through the two Excel data sources creating a new documnet for each record and setting the values of the variables in each document to the values from the records in the data sources. However that is probably going to be even more daunting that just combining the two Excel data sources and using mail merge. -- Hope this helps. Please reply to the newsgroup unless you wish to avail yourself of my services on a paid consulting basis. Doug Robbins - Word MVP, originally posted via msnews.microsoft.com "MaxArk" wrote in message ... Is it possible to use two separate sources of data in one mail merge document? I have a mailmerge document that use core data from an Excel worksheet, but also displays statistical information from a second worksheet in the same Excel workbook. If I had to depend on just one worksheet, I would have to replicate the statistical data on all rows of data in the core database. Seems kinda daunting. Jenn -- MaxArk |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| My Data Sources | Inobugs | General Discussion | 0 | August 7th 07 12:24 AM |
| data sources | Alex | New Users | 2 | September 21st 06 06:24 AM |
| Location of Data Sources | Newuser | Mailmerge | 1 | June 5th 06 07:09 AM |
| merging 2 data sources | pumpkin4455 | Mailmerge | 2 | April 27th 06 04:17 PM |
| multiple data sources and data form | Chico | Mailmerge | 1 | October 5th 05 04:56 AM |