I recorded this line of code
VB:
ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:="", SubAddress:="Sheet2!A1"
Then taking this one line of code I developed the following routine
VB:
Sub HyperLink_SheetsToIndex()
Dim wks As Worksheet
Dim rngLinkCell As Range
Dim strSubAddress As String, strDisplayText As String
Worksheets("Sheet Index").Range("A:A").ClearContents
For Each wks In ActiveWorkbook.Worksheets
Set rngLinkCell = Worksheets("Sheet Index").Range("A65536").End(xlUp)
If rngLinkCell <> "" Then Set rngLinkCell = rngLinkCell.Offset(1, 0)
strSubAddress = "'" & wks.Name & "'!A1"
strDisplayText = "HyperLink : " & wks.Name
Worksheets("Sheet Index").Hyperlinks.Add Anchor:=rngLinkCell, Address:="", SubAddress:=strSubAddress, TextToDisplay:=strDisplayText
Next wks
End Sub
Paste this routine into a module page. Insert a worksheet or rename a current worksheet to "Sheet Index" and it'll list all the Worksheets in the current workbook. It doesn't get the Chart sheets.
Regards,
Barry
Bookmarks