Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
This is great, it works fantastically well. Thanks.
I will have a look at your website for some more hints and tips. Regards, Steven "somethinglikeant" wrote: Hi Steven this should do it Sub ListSheets() Sheets.Add after:=Sheets(Sheets.Count): ActiveSheet.Name = "Sheet Names" [A1] = "Sheet Names": ActiveCell.Font.Bold = True: ActiveCell.Offset(1, 0).Select Dim sht As Worksheet For Each sht In Worksheets If sht.Name < "Sheet Names" Then ActiveCell = sht.Name ActiveCell.Offset(1, 0).Select End If Next sht End Sub http://www.excel-ant.co.uk StevenP wrote: Hi there, Can anybody help me with the code the generate a list of all the sheet names in my workbook. Preferably the code should create a new sheet in the workbook and then list all the names starting in cell A1, going down. Thanks for the help. Regards, Steven P |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i set up a list of names on a sheet frm various sheets in e | Excel Discussion (Misc queries) | |||
Putting Sheet Names on a list | Excel Programming | |||
Creating list of sheet names | Excel Programming | |||
Creating list of sheet names | Excel Programming | |||
VBA to insert list of sheet names | Excel Programming |