Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
If you run this small macro, it will produce a list of sheets that are
"clickable": Sub EasyToc() ' gsnuxx Dim ws As Worksheet Dim n As String Dim p1 As String, dq As String, sq As String dq = Chr(34) sq = Chr(39) p1 = "=HYPERLINK(" & dq & "#'" p2 = "'!A1" & dq & "," & dq k = 1 For Each ws In Worksheets n = ws.Name Cells(k, 1).Formula = p1 & n & p2 & n & dq & ")" k = k + 1 Next End Sub -- Gary''s Student - gsnu200816 "Niamh" wrote: I am trying to create a list of worksheet names on my first worksheet, similar to a table of contents. Is there a way of linking to the worksheet names, so this table gets updated automatically? Thanks, Niamh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Trying to list tab/worksheet names in a summary worksheet | Excel Discussion (Misc queries) | |||
how do you make a summary page showing the workbook name with the excel sheet names | New Users to Excel | |||
Displaying information (contained in defined names) on a summary sheet, in different row numbers? | Excel Discussion (Misc queries) | |||
totals sheet- need summary of column of names between sheets | Excel Discussion (Misc queries) | |||
Creating a list of worksheet names on a Summary PAge | Excel Worksheet Functions |