Jay K. answered 07/30/19
LEARN EXCEL EASILY - YOUR ONLINE EXCEL TUTOR
To extract URL from a hyperlink,
Select the hyperlink,
Press SHIFT + F10,
Choose Edit Hyperlink,
Copy the hyperlink from address bar
Press ok or esc
Move to blank cell
Pres CTRL + V
To extract multiple URLs from multiple hyperlinks,
you have to use VBA Code.
- Open up a new workbook.
- Get into VBA (Press Alt+F11)
- Insert a new module (Insert > Module)
- Copy and Paste the Excel user defined function below
Sub ExtractHL()
Dim HL As Hyperlink
For Each HL In ActiveSheet.Hyperlinks
HL.Range.Offset(0, 1).Value = HL.Address
Next
End Sub5
5. Press F5 and click “Run”
Get out of VBA (Press Alt+Q)
Happy Learning !!!