Edit same table form both Excel and Access

lcorcoran

New Member
Joined
Nov 4, 2021
Messages
15
Office Version
  1. 365
I have an Access Table and I would like to be able to edit the table form both Excel and Access. I add records to the table in access from another system so I can’t change that, I use power query in excel to import the data, I would like any changes made in excel to be updated back in to access automatically, I’m I asking the impossible.

Note: Also posted here in the Access forum: Edit same table form both Excel and Access
 
Last edited by a moderator:

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
Figured out a workaround for this problem

This VBA code will run a access macro

Sub AccessUpdate()
Dim A As Object
Application.DisplayAlerts = False
Set A = CreateObject("Access.Application")
A.Visible = False
A.OpenCurrentDatabase ("C:\Path\test.accdb")
A.DoCmd.RunMacro "RunUpdate"
Application.DisplayAlerts = True
End Sub

The Access Macro
* Deletes a table
* RunSavedImportExport to import the Table from Excel
* And then calls an Update Query
 
Upvote 0

Forum statistics

Threads
1,223,903
Messages
6,175,287
Members
452,631
Latest member
a_potato

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