ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Update links using VBA (https://www.excelbanter.com/excel-programming/273282-update-links-using-vba.html)

Michael Beckinsale

Update links using VBA
 
I have a Excel spreadsheet that needs to be linked to several Excel files
which are
always identical in layout but will be renamed and moved to different
folders.

I have written the macro which re-defines the filepath etc but my problem
is that once the links have been re-defined the links will not update unless
l take the following steps manually:

1) Edit
2) Links
3) UpdateNow

to make matters worst 3) has to be repeated for each link in the list.

Can somebody pls tell me or provide VBA code that will automatically
update ALL the links ?

All help greatly appreciated.


Regards

Michael Beckinsale







All times are GMT +1. The time now is 11:52 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com