Data Connections

cstimart

Well-known Member
Joined
Feb 25, 2010
Messages
1,180
Using Office 2007:

I have an Access db with a handful of queries. Is it possible to "connect" the database to Excel and have the data from the queries on separate tabs?

I've tried to do so and only the 1st query returns data within Excel.

:confused:
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Can you describe exactly what you've done in the separate tabs?
 
Upvote 0
Tab 1 isn't anything special, it will be a "recap" sheet. Tab 2, I connected to Access db and pulled in the table from my 1st query. On Tab 3, I tried to do the same for the 2nd query but I only got the header and 1-2 empty lines in the table.
 
Upvote 0
What are the details for the 2 queries? Did you do the connect the same way both times?
 
Upvote 0
What are the details for the 2 queries? Did you do the connect the same way both times?

Yes, I tried to connect Tab 3 the same way as Tab 2.

Data/From Access...picked .accdb...then picked query as a Table to an existing worksheet.
 
Upvote 0
In that case it should have worked. Did you experiment with other queries in Tab 3? Maybe even try the same query as in Tab 2, to see if it works?
 
Upvote 0
In that case it should have worked. Did you experiment with other queries in Tab 3? Maybe even try the same query as in Tab 2, to see if it works?

Yep...I tried a couple others and got the same results...nothing. I can't get more than query/table to populate in excel at a time. :banghead:
 
Upvote 0
So I gave it another whirl. I was able to get 2 tables to populate from Access and any further were empty tables. In addition, the 1st table only populated 24 of the 48 records in the Access query! :mad2:
 
Upvote 0

Forum statistics

Threads
1,224,600
Messages
6,179,836
Members
452,947
Latest member
Gerry_F

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