Created
May 22, 2017 00:20
-
-
Save ctrl-freak/6b513f4e76b297190985a3dc571c7e15 to your computer and use it in GitHub Desktop.
Extract URLs from Hyperlinked cells in Excel
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
'http://howtouseexcel.net/how-to-extract-a-url-from-a-hyperlink-on-excel | |
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