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
Pass user-defined table name to another form and run DoCmd.CopyObject
Regex.Replace only match entire word instead of part of a word
Copy data from multiple workbooks with VBA
Use xml parameter in SQL Server select
Windows Media Player
RIS Image problems
Using batch file to start programs with switches
How do I repair WinRM?
Backup Exec VSS error
inserting a picture into a word document