Change Access Linked Table From Excel

phenley3

New Member
Joined
Jun 1, 2018
Messages
4
I have some experience in VBA, but not much in using VBA in Access from Excel. I have a worksheet called "Control" that has a filepath in cell A5 for a .mdb database and a filepath in cell A6 for a .accdb database. I get a new .mdb database every month and it is used in a linked table in the .accdb database. Is there a way to have a macro in my excel workbook open up the .accdb database and update the link with the new database from the month?

I'm having trouble in starting to be able to work between access and excel. Any help would be greatly appreciated.
 

Excel Facts

Save Often
If you start asking yourself if now is a good time to save your Excel workbook, the answer is Yes
you shouldnt need to update any links.
get a new db,
save it and overwrite the old one,
all links are the same and unbroken.
 
Upvote 0

Forum statistics

Threads
1,223,721
Messages
6,174,097
Members
452,542
Latest member
Bricklin

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