Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Paul
Here's handy little macro to get a list of sheetnames and codenames. Sub CreateListOfSheetsOnFirstSheet() Dim ws As Worksheet For I = 1 To Worksheets.Count With Worksheets(1) Set ws = Worksheets(I) .Cells(I, 1).Value = ws.Name .Cells(I, 2).Value = ws.CodeName End With Next I End Sub Gord Dibben MS Excel MVP On Fri, 26 Jun 2009 11:03:48 -0700, "Paul" wrote: Many thanks to Mike, Ron and Jim! You've given me all the information I need to handle the worksheets the way I want. Jim - Thanks also for the sample code with the Select Case examples. Paul |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code names for excel sheets | Excel Discussion (Misc queries) | |||
MAKE A LIST OF NAMES FROM REPEATED NAMES IN THE SAME WORKSHEET | Excel Discussion (Misc queries) | |||
Excel 2007 not saving user-created range names | Excel Discussion (Misc queries) | |||
Generic Worksheet Names | Excel Discussion (Misc queries) | |||
Can I check names in one list agains names in another in excel? | Excel Discussion (Misc queries) |