Exporting Query to Excel Table

herbc0704

Board Regular
Joined
Jun 22, 2009
Messages
100
I created a a query in Access. I need to export this query results to a table that has a formatted pivot table attached. I need for the information in the export to overright the existing information excel table so the pivot table can refresh with new information.

I tried using the data import in excel, but since my access query has prompt parameters in it it does not allow that, or is there a way to work around that.
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
In Access look at MACROS and you will find TransferSpreadSheet as an option, you can then use the Export and specify the workbook name and path and also the range to go to, that should replace existing data.
 
Upvote 0
In Excel open the file with the pivot table, click in it, then open the Pivot Table Wizard from the toolbar, and click Back to get to where the data come from. You should choose External List or Database, then make an ODBC connection to the Access database, specifically the query you want.
 
Upvote 0

Forum statistics

Threads
1,224,506
Messages
6,179,158
Members
452,892
Latest member
yadavagiri

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