I am using following code
It works fine, but I can't use named ranges in this function. How is it possible to get following code to work:
Code:
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
MsgBox Target.Range.Text
End Sub
It works fine, but I can't use named ranges in this function. How is it possible to get following code to work:
Code:
Private Sub Worksheet_FollowHyperlink(ByVal Target As Hyperlink)
Range("Name") = Target.Range.Text
End Sub