Extracting hyperlink from a cell

G

giraph

Okay.. so I have a list of hyperlinks in my spreadsheet. I need a way
to split the hyperlink column into two columns, one with the
http://website.com part and one with the text of the hyperlink, any
ideas on how to do this?

Thanks for your help.
 
G

Guest

This tiny UDF will return the URL:

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

So if A1 has a hyperlink, then =hyp2(A1) will give the address.


=A1 will give the description
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top