Microsoft
Software
Hardware
Network
Question : VBA to change Linked Tables for Test and Production
I have an Access 2007 db with 13 linked Excel files on a network share. I would like some VBA to change the links to a local directory on my PC for testing and then back again later. I do not have experience with Access VBA but I do have intermediate skills with VBA in Excel so I will probably be able to follow the Access VBA just not write it from scratch. I can put the Test and Prod directories names in a Table or hard code them in the VBA. Does not matter... Just looking for a hands off way to change them back and forth.
Thanks,
Jerry
Answer : VBA to change Linked Tables for Test and Production
I have one FrontEnd with 2 excel file.
You must update the table tbl_tableManifest first. Then open frm_ChangeBackEnd form.
Good luck!
FrontEnd.mdb
(180 KB)
(File Type Details)
Front End
TestLink.xls
(21 KB)
(File Type Details)
Excel Test
TestLink2.xls
(21 KB)
(File Type Details)
Excel Test2
Random Solutions
Why does Excel crash while running Excel macro?
DatePart help
File Audit to check date access of file
run regsvr32.exe on Windows 7
'string' does not contain a definition for 'Controls' and no extension method 'Controls' accepting a first argument of type 'string' could be found
Convert VBA to VB.Net
datetime to ISOweek & ISOyear
Configure Report Server Error
Single quotation in strVariable causes error 2147217900
Conditional Format IF Expression