A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

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.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

Two Sources of Source Data



 
 
Thread Tools Display Modes
  #1  
Old April 30th 09, 02:02 PM posted to microsoft.public.word.mailmerge.fields
MaxArk[_13_]
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
Ads
  #2  
Old April 30th 09, 10:31 PM posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP
external usenet poster
 
Posts: 8,205
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


 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
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 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


All times are GMT +1. The time now is 06:13 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Copyright ©2004-2010 Microsoft Office Word Forum - WordBanter, part of the NewsgroupBanter project.
The comments are property of their posters.