ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   update all hyperlinks to another drive (https://www.excelbanter.com/excel-programming/401072-update-all-hyperlinks-another-drive.html)

Filips Benoit[_2_]

update all hyperlinks to another drive
 
Dear All,

Each row has in column J a hyperlink ( picture). Pictures are stored on my
computer on a folder on drive D.
If a put the workbook on another computer or change the folders location all
links are broken.
How can I restore all hyperlinks in one move (macro) .

? What is realy stored in the hyperlink-cell ????
Some hyperlinks are shown with the full path ( ex1) others with the path
starting with the workbooks' location (ex2)
ex1 = D:/Filip/articles/Fotos/foto1.jpg
ex2 = Fotos/foto1.jpg

Path workbook = D:/Filip/articles/MyWorkbook.xls
Path pictures = D:/Filip/articles/Fotos/foto1.jpg

Thanks,

Filip



Gary''s Student

update all hyperlinks to another drive
 
Checkout the Fix Hyperlinks paragraph in :

http://www.mvps.org/dmcritchie/excel/buildtoc.htm#hyp
--
Gary''s Student - gsnu2007a


"Filips Benoit" wrote:

Dear All,

Each row has in column J a hyperlink ( picture). Pictures are stored on my
computer on a folder on drive D.
If a put the workbook on another computer or change the folders location all
links are broken.
How can I restore all hyperlinks in one move (macro) .

? What is realy stored in the hyperlink-cell ????
Some hyperlinks are shown with the full path ( ex1) others with the path
starting with the workbooks' location (ex2)
ex1 = D:/Filip/articles/Fotos/foto1.jpg
ex2 = Fotos/foto1.jpg

Path workbook = D:/Filip/articles/MyWorkbook.xls
Path pictures = D:/Filip/articles/Fotos/foto1.jpg

Thanks,

Filip





All times are GMT +1. The time now is 10:03 PM.

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