Skip to content

Instantly share code, notes, and snippets.

@shabdar
Created April 17, 2013 06:14
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shabdar/5402136 to your computer and use it in GitHub Desktop.
Save shabdar/5402136 to your computer and use it in GitHub Desktop.
Public Function getURL(rng As Range) As String
If rng(1).Hyperlinks.Count Then getURL = rng.Hyperlinks(1).Address
End Function
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment