find and replace hyperlinks

  • Thread starter Thread starter greg
  • Start date Start date
G

greg

Hello,
I would like to search on the address of a hyperlink.
and then replace it

however it does not seem the find and replace will fine the hyperlink
address.

is there a way to do this?

thanks
 
thanks,
i though maybe there was something built in. Guess not


i did throw some code to do a little:
Sub xxx()

Dim x As Excel.Worksheet

Set x = Excel.ActiveSheet

For i = 1 To x.Hyperlinks.Count

If x.Hyperlinks(i).Address = "http://www.yahoo.com/" Then

x.Hyperlinks(i).Address = "www.google.com"

End If

Next i

End Sub
 
You can try ReplaceMagic ExcelOnly edition because it will cover
extended search&replace in Excel documents and also what is more
interesting you do not need to open any of files because they will be
opened in hidden Excel.

Site address is http://www.replacemagic.com.

Good luck,
Oliver
 
Back
Top