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

Return population for a City
If you have a list of cities in A2:A100, use Data, Geography. Then =A2.Population and copy down.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,909
Office Version
  1. 365
Platform
  1. Windows
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?
 

AndyDevine1

Board Regular
Joined
Jun 1, 2006
Messages
172
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
 

xenou

MrExcel MVP
Joined
Mar 2, 2007
Messages
16,836
Office Version
  1. 2019
Platform
  1. Windows
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.
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,507
Messages
5,837,758
Members
430,515
Latest member
K_Lynch

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
Top