Last active
June 13, 2021 13:37
-
-
Save themegabyte/a5dc02e9c9e636f1db19c9d210be7426 to your computer and use it in GitHub Desktop.
Excel function to extract HyperLinks from linked cell.
This file contains 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
Function GetURL(rng As Range) As String | |
On Error Resume Next | |
GetURL = rng.Hyperlinks(1).Address | |
End Function | |
' Usage: GetURL(Cell Number) | |
' Output: Associated address with Cell Number |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment