View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Tom Ogilvy Tom Ogilvy is offline
external usenet poster
 
Posts: 6,953
Default PLease Help..Neeed Hyperlinks from cell values

sub Extracthypelinksaddress()
Dim hlnk as Hyperlink
for each hlnk in activesheet.hyperlinks
hlnk.parent.offset(0,1).Value = "'" & hlnk.Address
Next
End Sub

the most I could add is to come to your site and run the macro.

--
Regards,
Tom Ogilvy

"Shani" wrote:

I have a column with links but would like to create a new column with
the urls they are point ting to

for example
A1=google but the hyperlink is www.google.com
I would like B1=www.google.com

A2=yahoo but the hyperlink is www.yahoo.com
I would like B2=www.yahoo.com