Excel | Convert Text Hyperlinks to normal URL's

PHOTO EMBED

Mon Jan 17 2022 04:35:18 GMT+0000 (Coordinated Universal Time)

Saved by @cnewnham #vba

Sub Extracthyperlinks()
'Updateby Extendoffice
Dim Rng As Range
Dim WorkRng As Range
On Error Resume Next
xTitleId = "Extract URL"
Set WorkRng = Application.Selection
Set WorkRng = Application.InputBox("Range", xTitleId, WorkRng.Address, Type:=8)
For Each Rng In WorkRng
    If Rng.Hyperlinks.Count > 0 Then
        Rng.Value = Rng.Hyperlinks.Item(1).Address
    End If
Next
End Sub
content_copyCOPY