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

In column A there a bunch of cells
I want to extract all the hyperlinks associated with the cells in
column A into Column B

for example
A1=axyfsk hyperlink=http://www.fasdfasdfasfsdfafd.com
I want B1=hyperlink=http://www.fasdfasdfasfsdfafd.com

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 903
Default Hyperlink help

Hi Shani,
see http://www.mvps.org/dmcritchie/excel...perlinkaddress

---
HTH,
David McRitchie, Microsoft MVP - Excel [site changed Nov. 2001]
My Excel Pages: http://www.mvps.org/dmcritchie/excel/excel.htm
Search Page: http://www.mvps.org/dmcritchie/excel/search.htm

"Shani" wrote in message oups.com...
In column A there a bunch of cells
I want to extract all the hyperlinks associated with the cells in
column A into Column B

for example
A1=axyfsk hyperlink=http://www.fasdfasdfasfsdfafd.com
I want B1=hyperlink=http://www.fasdfasdfasfsdfafd.com



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default Hyperlink help

Hi Shani

Use this

Dim hlink As Hyperlink
For Each hlink In Columns("A").Hyperlinks
hlink.Parent.Offset(0, 1).Value = hlink.Address
Next


--
Regards Ron de Bruin
http://www.rondebruin.nl


"Shani" wrote in message oups.com...
In column A there a bunch of cells
I want to extract all the hyperlinks associated with the cells in
column A into Column B

for example
A1=axyfsk hyperlink=http://www.fasdfasdfasfsdfafd.com
I want B1=hyperlink=http://www.fasdfasdfasfsdfafd.com



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

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

--
Regards,
Tom Ogilvy


"Shani" wrote:

In column A there a bunch of cells
I want to extract all the hyperlinks associated with the cells in
column A into Column B

for example
A1=axyfsk hyperlink=http://www.fasdfasdfasfsdfafd.com
I want B1=hyperlink=http://www.fasdfasdfasfsdfafd.com


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default Hyperlink help

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:

In column A there a bunch of cells
I want to extract all the hyperlinks associated with the cells in
column A into Column B

for example
A1=axyfsk hyperlink=http://www.fasdfasdfasfsdfafd.com
I want B1=hyperlink=http://www.fasdfasdfasfsdfafd.com




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
Can't make hyperlink function work for hyperlink to website Frank B Denman Excel Worksheet Functions 15 February 5th 07 11:01 PM
Moving rows with Hyperlink doesn't move hyperlink address Samad Excel Discussion (Misc queries) 15 June 22nd 06 12:03 PM
Intra-workbook hyperlink: macro/function to return to hyperlink ce marika1981 Excel Discussion (Misc queries) 3 May 6th 05 05:47 AM
Macro to Copy Hyperlink to another file as a HYPERLINK, not text... dollardoc Excel Programming 1 April 7th 05 12:47 AM
reading html when hyperlink address not hyperlink text diplayed Kevin Excel Programming 1 December 4th 03 10:13 PM


All times are GMT +1. The time now is 11:15 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"