Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
MaxArk[_13_] MaxArk[_13_] is offline
external usenet poster
 
Posts: 1
Default Two Sources of Source Data


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
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default Two Sources of Source Data

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


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
My Data Sources Inobugs Microsoft Word Help 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


All times are GMT +1. The time now is 10:21 PM.

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"