Thanks for the reply, but it still doesnt seem to work for the purposes I need it.
Howcome when I use it within the following method, it doesnt return a value when I call msgbox?
Public Sub example1()
Dim wsCD As Worksheet, wsNew As Worksheet
Dim HL As Hyperlink
Dim rngCopy As Range, HLrange As Range
On Error GoTo ExitPoint
Application.ScreenUpdating = False
Set wsCD = Sheets("Compartment Details")
Set wsNew = Sheets.Add(After:=Sheets(Sheets.Count))
For Each HL In wsCD.Hyperlinks
HLrange = HL.Range
MsgBox (HLrange.Value) 'tried using the function here to display the hyperlink cell value
wsCD.Activate: HL.Follow
Set rngCopy = ActiveCell.Offset(, 1 - ActiveCell.Column).Resize(, 20)
wsNew.Cells(wsNew.Rows.Count, "A").End(xlUp).Offset(1).Resize(, 20).Value = rngCopy.Value
Set rngCopy = Nothing
Next HL
ExitPoint:
Set wsCD = Nothing
Set wsNew = Nothing
Application.ScreenUpdating = True
End Sub
Cheers,
Jag
Bookmarks