LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5
Default Query 2 excel files with ADO

thanks, but now am confused... sorry to sound like a complete idiot, how
would you 'record' a macro? The functionality (akin to excel) is not
available, not in Access 2002 am using anyway.


"Joel" wrote:

I haven't tried it, but it should work.

"Kained" wrote:

I usually record a macro in Access


Joel, so i could potentially make them linked tables and then record a macro?


"Joel" wrote:

using ADO method is basically like opening up the excel file as access
databases and performing the operation using access. If you can do it with
access then you can write a macro to perform the same operation.

In reality the file structure of all microsoft products are the same. A
file consists of either tables, pictures, documents, .... An excel worksheet
is eactly the same as access table. That is why you can use the ADO method
either on the access table or the excel worksheet.

I usually record a macro in Access and then move the recorded macro in tho
excel when I'm experimenting with new idea.

"Kained" wrote:

Is it possible to query two excel files with ADO?

By this I mean, using two separate excel files (as tables, each with same
UIDs) and being able to perform an INNER JOIN on them?

I understand alternatives are to create two connections and loop through the
second with various methods, but am really after a sleeker solution using a
single query.

Any pointers are most appreciated.



 
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
OLAP Creation in Excel / MS Query -- .cub files piperbrian Excel Discussion (Misc queries) 0 September 1st 08 09:38 PM
Query Multiple Excel files ck Excel Discussion (Misc queries) 2 November 17th 06 03:31 AM
ATTN: Works wdb files to Excel 2003 converter query SeeAll New Users to Excel 1 July 9th 06 09:28 PM
query multiple excel files pollymoe Excel Discussion (Misc queries) 1 February 1st 06 02:15 PM
copying files with query(s), the query is still linked to the ori. Mohamed Antar Excel Discussion (Misc queries) 0 March 23rd 05 01:43 PM


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