State about HYPERLINKS Property?
As per our requirement we can assign hyperlink to either OBJECT (or) TEXT
Sub Add_Hperlinks_to_Object()
ActiveSheet.Hyperlinks.Add _
Anchor:=Sheets("Sheet2").Shapes("click"), _
Address:="http://www.sriguranjani.com/VBA_Hyperlinks_
Property.html", _
SubAddress:="", _
ScreenTip:="View on Website"
End Sub
Sub Add_Hperlinks_to_Object()
ActiveSheet.Hyperlinks.Add _
Anchor:=Sheets("Sheet2").Range("G13"), _
Address:="http://www.sriguranjani.com/VBA_Hyperlinks_
Property.html", _
SubAddress:="", _
ScreenTip:="View on Website"
End Sub
Private Sub CommandButton1_Click()
Dim i As Integer
For i = 1 To Sheets.Count
Cells(i, 1).Value = Sheets(i).Name
ActiveCell.Hyperlinks.Add _
anchor:=Cells(i, 1), _
Address:="", _
SubAddress:=Sheets(i).Name & "!A1", _
ScreenTip:="Hi click here to view the sheet"
Next
End Sub