Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Need to extract hyperlink

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

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Need to extract hyperlink

for each hlnk in activesheet.hyperlinks
hlnk.parent.offset(0,1).Value = "'" & hlnk.Address
Next

--
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


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 33
Default Need to extract hyperlink

Can you provide a little mroe information please

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Need to extract hyperlink

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:

Can you provide a little mroe information please


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
extract hyperlink with worksheet RRRYBAlex Excel Worksheet Functions 0 May 14th 10 04:37 PM
How to extract the url in a hyperlink using a formula pako_1972 Excel Worksheet Functions 1 September 7th 06 05:08 AM
Extract a hyperlink from cell value mabc Excel Programming 2 July 7th 05 04:25 AM
How can I extract hyperlink value pat_rick Excel Discussion (Misc queries) 1 January 8th 05 01:17 AM
Extract Hyperlink carlos Excel Programming 1 June 11th 04 04:59 PM


All times are GMT +1. The time now is 03:44 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"