Excel query and then data back into Access

AndyDevine1

Board Regular
Joined
Jun 1, 2006
Messages
172
Hi

I have set up a query in Excel to read from a table in my Access database

I am then editing the data in Excel.

Is there a way I can re-import the data back into the same table and overwrite any records that have been changed?

Many thanks

Andy
 

Excel Facts

Last used cell?
Press Ctrl+End to move to what Excel thinks is the last used cell.
Perhaps, if you made your table in Excel and then linked your excel table to Access instead of having the table reside directly in Access?
 
Upvote 0
Hi Alan

Thanks for your reply

I'm working on a joint project and have been 'instructed' this we should do it in this way.

Do you know if it is possible/easy?

Thanks

Andy
 
Upvote 0
Depending on what you mean by "edit in Excel", you can very easily just create a new access database, link to the table, and do the edits that way. Viewing the data in an Access table is not going to be much different from viewing the data in an Excel spreadsheet (speaking very roughly).

Otherwise, you MUST know what keys are and use them to relate the records in Excel to the records in Access. Also you must be careful to remember that Excel will let you do things that Access will not (such as mix and match data types and insert duplicate records that violate primary key constraints, among many other errors that can occur in Excel since it is such a free form platform). With those caveats, you can script the transfer of data in either Excel or Access.
 
Upvote 0

Forum statistics

Threads
1,216,540
Messages
6,131,255
Members
449,638
Latest member
ygdalvi

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