View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.misc
pgarcia pgarcia is offline
external usenet poster
 
Posts: 304
Default how do I create a quick directory of sheets in workbook

Sub listshtnames()
For i = 1 To Sheets.Count
Cells(i, "f") = Sheets(i).Name
Next i
End Sub



"Momturbo" wrote:

I have a workbook with 20-plus worksheets, each of them with the name of a
different employee. Is there a quick way to make a directory of all the
named sheets?