Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Excel macros
Function HLink(rng As Range) As String
'extract URL from hyperlink
'posted by Rick Rothstein
If rng(1).Hyperlinks.Count Then HLink = rng.Hyperlinks(1).Address
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment