If you want to convert the hyeprlink display address to Actual address of Hyperlink , We can do as below
Sub x()
' Select a range or column first! Enter the range you want to look in for
Columns("A:A").Select
Dim lngTemp As Long
For lngTemp = 1 To Selection.Hyperlinks.Count
Selection.Hyperlinks(lngTemp).TextToDisplay = Selection.Hyperlinks(lngTemp).Address
Next
End Sub
Sub x()
' Select a range or column first! Enter the range you want to look in for
Columns("A:A").Select
Dim lngTemp As Long
For lngTemp = 1 To Selection.Hyperlinks.Count
Selection.Hyperlinks(lngTemp).TextToDisplay = Selection.Hyperlinks(lngTemp).Address
Next
End Sub
No comments:
Post a Comment