Editing hyperlink addresses

leydorfs

Board Regular
Joined
Feb 12, 2005
Messages
83
Is there any way to do a replace on the hyperlink addresses w/in cells?

If not, here's a method that I've come up with to edit them, but need the specifics on how to get addresses out and put them into the cells.

1. I have a column of hyperlinks and would like to take the address out of the hyperlink and put them into a column. (Let's say that column "C" was 1000 hyperlinks, I"d like the addresses to go into Column D.

2. I'll then edit the column of addresses. Something like change drive "C" to "M:\NewProject"

3. I'd then like to take the edited addresses and put them back into their original hyperlink.


Can you help me to do #1 and #3. either in Excel or VBA.
 

Excel Facts

Square and cube roots
The =SQRT(25) is a square root. For a cube root, use =125^(1/3). For a fourth root, use =625^(1/4).
Hi,
seems like you want to change the path of all those links
you had a bunch of files stored on your "C" and moved them to another location
now you want to update the path
is this correct ?

  A                   B              
1 C:\Windows\desktop\                
2 MyFirstDoc.doc      MyFirstDoc.doc 
3 Map1.xls            Map1.xls       
4 temp.txt            temp.txt       

sheet1

[Table-It] version 02 by Erik Van Geit
FORMULA in B2: =IF(A2="","",HYPERLINK($A$1&A2,A2))

I'm using this layout to avoiding to repeat the "root" each time and also avoid "zero"-hyperlinks

does this help ?
kind regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,215,813
Messages
6,127,026
Members
449,352
Latest member
Tileni

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top