I have an excel spreadsheet with hundreds of hyperlinks. They are all wrong and need to be updated. My idea is to write a formula in a new column to update them. The best I can come up with is something like this;
Origional field shows: maskingname
Origional field hyperlink: \\path\filename.txt
New field:
="\\new file path here\"&right($J1,9)
Where "right($J1,9)" is a reference to the file name contained in the existing incorect hyperlink.
The problem is this simply gives me a text field, it has the right path, but is not a hyperlink. Also I would loose the Masking text that was in the origional field. If you don't think there is a way to do this in a formula but know how to do it with vba that would be helpful as well.
Thanks in advance
Origional field shows: maskingname
Origional field hyperlink: \\path\filename.txt
New field:
="\\new file path here\"&right($J1,9)
Where "right($J1,9)" is a reference to the file name contained in the existing incorect hyperlink.
The problem is this simply gives me a text field, it has the right path, but is not a hyperlink. Also I would loose the Masking text that was in the origional field. If you don't think there is a way to do this in a formula but know how to do it with vba that would be helpful as well.
Thanks in advance