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

Wildcard in VLOOKUP
Use =VLOOKUP("Apple*" to find apple, Apple, or applesauce
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,216,066
Messages
6,128,577
Members
449,459
Latest member
20rayallen

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