Home |
Search |
Today's Posts |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Hi,
And here is another approach Sub GetNames() Dim sh As Worksheet Dim I As Integer For Each sh In Worksheets If sh.Index 1 Then Sheets(1).[A1].Offset(I) = sh.Name I = I + 1 End If Next sh End Sub -- If this helps, please click the Yes button. Cheers, Shane Devenshire "John" wrote: Hello to all... I have found this community to be very helpful for a new user like me. I have used many examples displayed throughout the sessions. What I would like to do is list the sheets in my workbook on sheet 1 but exclude sheet 1 in the list, starting with sheet 2 through sheet end. I have found the code that list all sheets which will work but I would like to eliminate the first sheet though. Any example of code would be nice. Thanks in advance... |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
List Sheets excluding sheets named ***-A | Excel Discussion (Misc queries) | |||
List all sheets present in Workbook | Excel Worksheet Functions | |||
Multiple Sheets (Need to create 500 individual sheets in one workbook, pulling DATA | Excel Worksheet Functions | |||
add new sheets in a workbook with new sheets being a variable | Excel Discussion (Misc queries) | |||
How to repeat a code for selected sheets (or a contiguous range of sheets) in a Workbook? | Excel Worksheet Functions |