Posted by: Yogesh Puri on: November 7, 2008
A very nice utility
Sub CreateListOfSheetNames()
Set wkbkToCount = ActiveWorkbook
iRow = 1
With Sheets.Add
For Each ws In wkbkToCount.Worksheets
.Rows(iRow).Cells(1).Value = ws.Name
ActiveSheet.Hyperlinks.Add Anchor:=.Rows(iRow).Cells(1), Address:="", SubAddress:= _
ws.Name & "!A1", TextToDisplay:=ws.Name
iRow = iRow + 1
Next
End With
End Sub
[...] Read the original here: Macro to copy sheets Names in Excel [...]
Recent Comments