access / excel link

T

tom

i know that i can link excel tables to an access database. can i link an
access table to a spreadsheet?
 
S

Stefan Hoffmann

hi Tom,
i know that i can link excel tables to an access database. can i link an
access table to a spreadsheet?
You may use Data/Get External Data, but this not the same as linked table.

Depending on your needs, you may consider using a VBA procedure (macro)
to read the data with a DAO.Recordset and copy it manually into to your
cells - you can copy also a complete recordset, see CopyFromRecordset in
Excel.


mfG
--> stefan <--
 
T

tom

thanks stefan,

i'm afraid it's all a bit complicated for me!! my intention was to use a
spreadsheet whose data would update automatically from an access table. i've
looked at other threads and it looks as though this is not achievable.
thanks again for your help.
 
J

Jeanette Cunningham

tom,
if you are entering data in the database, you can show the updated data in
excel.
If you and your users are all on the same network, you can link the
spreadsheet starting at the Excel end.
First of pull out the data you want to see in excel and save it in a query
in the database.
Open excel | Data | Import external data | Import data
In the dialog that opens, navigate to the saved query in the access
database. Follow the prompts as excel guides you through the process.
The end result is a spreadsheet with all the data from the query.
Next time you open the spreadsheet, you can use the External data toolbar to
refresh the spreadsheet - this will update your spreadsheet with the latest
data in the query in the database.

Jeanette Cunningham
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top