Skip to content

Instantly share code, notes, and snippets.

@honzapav
Created November 28, 2015 12:34
Show Gist options
  • Save honzapav/1ed434985ea9133679d8 to your computer and use it in GitHub Desktop.
Save honzapav/1ed434985ea9133679d8 to your computer and use it in GitHub Desktop.
VBA extract URL from link
Sub ExtractHL()
Dim HL As Hyperlink
For Each HL In ActiveSheet.Hyperlinks
HL.Range.Offset(0, 1).Value = HL.Address
Next
End Sub
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment