#1   Report Post  
Posted to microsoft.public.excel.misc
Frazer
 
Posts: n/a
Default Hyperlink text

I have a hyperlink, in a cell, say cell A1.

This text, for example it may say 'blah', is then hyperlinked to a webpage,
say www.hyperlink.com.....ie the text is not related to the name of the
hyperlink.

Is there a way i can then get the actual hyperlink, www.hyperlink.com, to
appear in the next column?
  #2   Report Post  
Posted to microsoft.public.excel.misc
Gary''s Student
 
Posts: n/a
Default Hyperlink text

Yes:

enter this tiny UDF:

Function hyp2(r As Range) As String
hyp2 = r.Hyperlinks(1).Address
End Function

if A1 has a hyperlink in it then
=hyp2(A1) will display the URL (address part)
--
Gary's Student


"Frazer" wrote:

I have a hyperlink, in a cell, say cell A1.

This text, for example it may say 'blah', is then hyperlinked to a webpage,
say www.hyperlink.com.....ie the text is not related to the name of the
hyperlink.

Is there a way i can then get the actual hyperlink, www.hyperlink.com, to
appear in the next column?

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
Stop excel from dropping the 0 in the beginning of a number? Rosewood Setting up and Configuration of Excel 12 April 4th 23 02:12 PM
Hyperlink won't open any other XLS file Jinx1966 Excel Discussion (Misc queries) 2 February 9th 06 08:26 AM
Count Intervals of Filtered TEXT values in Column and Return Count across a Row Sam via OfficeKB.com Excel Worksheet Functions 9 July 31st 05 03:37 AM
Text Wrapping JMB Excel Discussion (Misc queries) 0 July 29th 05 02:41 AM
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM


All times are GMT +1. The time now is 12:57 PM.

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"