Trouble importing query results into Excel 2007 from Access

stuboyle

New Member
Joined
Nov 19, 2003
Messages
10
I am trying to import the results of an Access 2007 query into Excel 2007 using the data connection feature from within Excel. The Access query is just a simple select query with the underlying table(s) being linked via an OBDC connection.

I have found that if the Access query contains a single linked table that I can successfully pull the results of the query across to Excel. However, if the query contains more than one linked table, the results will not come across. Has anyone experienced this?
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type
So you are linking to Access from another data source and then trying to import data from that link to Excel.

Silly question, but can't you just import direct from the original data source?
 
Upvote 0
So you are linking to Access from another data source and then trying to import data from that link to Excel.

Silly question, but can't you just import direct from the original data source?


The original data source tables are very large. So I'm using Access to subset the data, among other things.

Maybe I could try MS Query to see if that will work.
 
Upvote 0
How are you 'subsetting' the data?

If you are just using queries and then trying to import those, perhaps if you made them make table queries you could import the tables.
 
Upvote 0
How are you 'subsetting' the data?

If you are just using queries and then trying to import those, perhaps if you made them make table queries you could import the tables.

I'm comparing 2 tables. If the value in one field is Like "DN*" in one table Not Like "DN*" in the other table, then I'm output the results.

I wanted to avoid the extra step of going into the Access database to run the make table query, but yes, that would work.

Do you have an alternative?
 
Last edited:
Upvote 0
The only other alternative I can think of at the moment would be to do it all in code.

Perhaps even connecting directly to the source database rather than going through Access.
 
Upvote 0

Forum statistics

Threads
1,224,559
Messages
6,179,513
Members
452,921
Latest member
BBQKING

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top