Tested in Excel 365 (16.8730.2046) 64-bit
- Sub ExtractURLFromText()
- Dim i, LastRow
- LastRow = Range("A" & rows.Count).End(xlUp).Row
- On Error Resume Next ' in case is just plain text
- For i = 1 To LastRow
- Cells(i, 1).Select
- Cells(i, 2).Value = ActiveCell.Hyperlinks(1).Address
- Next i
- End Sub