Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
S.Kulshekar S.Kulshekar is offline
external usenet poster
 
Posts: 1
Default merge data from 2 excel worksheets into one word document

I have two excel worksheets. They contain data pertaining to two different
years.
The fields are identical. I want to merge the data from both the worksheets
side-by-side in one word document. Mail merge seems to take only one data
source for a document. Any ideas?
  #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 merge data from 2 excel worksheets into one word document

Combine the two worksheets into one.

--
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

"S.Kulshekar" wrote in message
news
I have two excel worksheets. They contain data pertaining to two different
years.
The fields are identical. I want to merge the data from both the
worksheets
side-by-side in one word document. Mail merge seems to take only one data
source for a document. Any ideas?



  #3   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Cindy M -WordMVP- Cindy M  -WordMVP- is offline
external usenet poster
 
Posts: 370
Default merge data from 2 excel worksheets into one word document

Hi ?B?Uy5LdWxzaGVrYXI=?=,

I have two excel worksheets. They contain data pertaining to two different
years.
The fields are identical. I want to merge the data from both the worksheets
side-by-side in one word document. Mail merge seems to take only one data
source for a document. Any ideas?

It's possible, but may be more work than Doug's suggestion:

You can use MSQuery and write the SQL for a UNION query. The SQL would look
like this, for example:

SELECT `Sheet1$`.Lastname, `Sheet1$`.Firstname
FROM `C:\Test\UnionMerge1`.`Sheet1$` `Sheet1$`
UNION
SELECT `Sheet1$`.Lastname, `Sheet1$`.Firstname
FROM `C:\Test\UnionMerge2`.`Sheet1$` `Sheet1$`

You can access MS Query from the "Tools" menu in the Open Data Source dialog
box.

Cindy Meister
INTER-Solutions, Switzerland
http://homepage.swissonline.ch/cindymeister (last update Jun 17 2005)
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 :-)

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
Reveal codes in a word document FUN101 Microsoft Word Help 4 May 16th 23 08:47 PM
How to put graphics on envelopes? Steve Koenig Microsoft Word Help 21 April 29th 23 02:47 AM
Data Trucated in word merge with excel source BAW Mailmerge 6 May 3rd 06 04:10 PM
page number printing on a merged report Print Page # On Merged Report Mailmerge 6 October 17th 05 05:18 AM
Why isn't all my Excel data merging into my Word labels document? Cindy Meister Mailmerge 0 August 6th 05 09:19 AM


All times are GMT +1. The time now is 04:40 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"