Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Join statements using ADO across separate Worksheets

Is it possible to join worksheets based upon a common column/key over
separate worksheets in the same workbook?

Does anyone have an example query?

Thanks.

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Join statements using ADO across separate Worksheets

If you set the ranges on the separate worksheets as named ranges
(InsertNameDefine...), you can use standard SQL using the names as the
tables.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
ups.com...
Is it possible to join worksheets based upon a common column/key over
separate worksheets in the same workbook?

Does anyone have an example query?

Thanks.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 129
Default Join statements using ADO across separate Worksheets

How do I define colmns - say I want to join on columns 1 and 2 of
Sheet1 and 2 and 3 of Sheet2?

Do I need a named range for the columns too?

Thanks.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default Join statements using ADO across separate Worksheets

Yes, but if you use dynamic range names, it will only extend as far as
necessary.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

wrote in message
oups.com...
How do I define colmns - say I want to join on columns 1 and 2 of
Sheet1 and 2 and 3 of Sheet2?

Do I need a named range for the columns too?

Thanks.



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how do I join two separate workbooks? Mike[_22_] New Users to Excel 1 June 10th 09 07:58 PM
How do I join 3 separate columns of dates H8Workn Excel Worksheet Functions 6 March 10th 09 07:43 PM
join worksheets Tom H Excel Discussion (Misc queries) 2 October 9th 07 06:27 PM
How do I join a date and time that are in separate columns? jenn Excel Discussion (Misc queries) 5 May 30th 07 08:14 PM
Save 2 separate data imports in separate worksheets on the same ex Jay Excel Worksheet Functions 1 March 8th 06 01:31 PM


All times are GMT +1. The time now is 02:04 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"