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

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.

alansidman

Well-known Member
Joined
Feb 26, 2007
Messages
6,190
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,832
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,130,051
Messages
5,639,773
Members
417,112
Latest member
PachRedoc

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