Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to print list of all worksheet names in a workbook?
Any way to do this? Sorry for such a basic question.
Thanks. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
how to print list of all worksheet names in a workbook?
Create a module and put this code in it. Run the macro.
Sub PrintWorksheets() Dim wks As Worksheet Dim rng As Range Set rng = Range("a1") For Each wks In Worksheets rng.Value = wks.Name Set rng = rng.Offset(1, 0) Next wks End Sub "BAM100" wrote: Any way to do this? Sorry for such a basic question. Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Print list of names of all sheets in a workbook | Excel Discussion (Misc queries) | |||
MAKE A LIST OF NAMES FROM REPEATED NAMES IN THE SAME WORKSHEET | Excel Discussion (Misc queries) | |||
Print list of ws names | New Users to Excel | |||
HOW DO I PRINT A LIST OF WORKSHEET TITLES FOR A SPECIFIC WORKBOOK | Excel Discussion (Misc queries) | |||
How do I print a list of worksheet tab names in a workbook | Excel Worksheet Functions |