csehz
asked on
VBA Access 2000 - Modify linked table path with VBA code
Dear Experts,
I have an excel table linked to Access database, in the table properties it appears like this below:
Excel5.0;HDR=YES;IMEX=2;DA TABASE=D:\ Folder\rou ting.xls;T ABLE=Routi ng_PLF5_01 15$
Of course but this can not be changed in table Design View, can you please advise could it be changed by VBA code?
For example I would like to have the file linked from C:\My documents
thanks,
I have an excel table linked to Access database, in the table properties it appears like this below:
Excel5.0;HDR=YES;IMEX=2;DA
Of course but this can not be changed in table Design View, can you please advise could it be changed by VBA code?
For example I would like to have the file linked from C:\My documents
thanks,
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It's often just as easy to delete the Linked table and re-create using Files, Get External Data... and follow the wizard.
ASKER
Thanks very much
ASKER
GRayL I know but unfortunately there are more tables, moreover daily changing file names like file2904.xls so also would like to build a logic in vba to follow those changes with the link
http://www.contextures.com/xlPivotPlayPlus01.html