Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I hava column of data that shows "friendly" website names. I want to extract
the actual website URLs that are embedded in the data. Anyone know how? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Use this tiny UDF:
Function hyp(r As Range) As String Dim s As String If r.HasFormula Then s = r.Formula s_array = Split(s, Chr(34)) hyp = s_array(1) Else hyp = r.Hyperlinks(1).Address End If End Function for example =hyp(A1) This will work if either the hyperlink was inserted directly or via the =HYPERLINK() function. -- Gary's Student "El Rebelde" wrote: I hava column of data that shows "friendly" website names. I want to extract the actual website URLs that are embedded in the data. Anyone know how? |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Thanks GS; that worked perfectly.
"Gary''s Student" wrote: Use this tiny UDF: Function hyp(r As Range) As String Dim s As String If r.HasFormula Then s = r.Formula s_array = Split(s, Chr(34)) hyp = s_array(1) Else hyp = r.Hyperlinks(1).Address End If End Function for example =hyp(A1) This will work if either the hyperlink was inserted directly or via the =HYPERLINK() function. -- Gary's Student "El Rebelde" wrote: I hava column of data that shows "friendly" website names. I want to extract the actual website URLs that are embedded in the data. Anyone know how? |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Address of Maximum value in Cell | Excel Worksheet Functions | |||
Replace a spreadsheets named cells/ranges with exact cell address. | Excel Discussion (Misc queries) | |||
Excel email address hyperlink does not update | Excel Discussion (Misc queries) | |||
Concatenating a cell address | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions |