Edit same table form both Excel and Access

lcorcoran

New Member
Joined
Nov 4, 2021
Messages
17
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 Excel Questions forum: Edit same table form both Excel and Access
 
Last edited by a moderator:

Excel Facts

How to total the visible cells?
From the first blank cell below a filtered data set, press Alt+=. Instead of SUM, you will get SUBTOTAL(9,)
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,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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