Need to link a cell in Excel to a field in an Access query

Lorelai

New Member
Joined
Apr 21, 2011
Messages
14
I have an access database. I have an Excel spreadsheet with a ton of info I don't want in my database. There are certain cells that I have to fill in with info from Access every time I present this spreadsheet (weekly). I would love to be able to link these individual cells to queries in my database so that every time I open the spreadsheet, it automatically updates with the new numbers from my database.

I tried creating a query that literally only has the one field I want, then copying it and doing a "paste special link" in Excel. It pasted the info (with the column header which I'd rather not see but could live with) but when the info in the query changed, the spreadsheet did not.

I'm using Excel 2007 and Access 2003.

Is this even possible?

Thank you so much for your time.
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
I do this all the time. In Excel 2007 there is a Data tab. If you select that you can get external data from Access. I have some people who are on Excel 2003 and can only use Access 2003. I have both 2003 and 2007 in both Access and Excel and switch between the two often. When you get into the "From Access" you can then select the database and then select the table or query that you want to display. You can paste it into a worksheet and go from there. What I have done is do a query in Access and then just put the results out in Excel. It will requery when I open the Excel spreadsheet when I open(provided you have the correct settings in Excel) To that end make sure you refresh all on open using a macro in Excel.

HTH
 
Upvote 0
I tried that, but it's only showing me tables to select from, not queries. Any idea why that might be?
 
Upvote 0
I just looked at mine and it is showing the queries. I put a qry at the beginning of a query to help me identify it. Also, if you expand the table it has a column and the designation shows a view rather than a table.

If you are not getting that, I would look at your ODBC connection and see if that is restricted in some way.
 
Upvote 0

Forum statistics

Threads
1,224,552
Messages
6,179,484
Members
452,917
Latest member
MrsMSalt

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