Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Sub GetSheetNames() set NewBk = workbooks("Book1.xls") with NewBk RowCount = 1 for each sht in .sheets if ucase(sht.name) < ucase("A") then Sheets("A").Range("A" & RowCount) = sht.name RowCount = RowCount + 1 end if next Sht end with end Sub -- joel ------------------------------------------------------------------------ joel's Profile: http://www.thecodecage.com/forumz/member.php?userid=229 View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=159804 Microsoft Office Help |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Is there an object containing the sheet names for a workbook | Excel Programming | |||
Iterating Through Workbook if Don't Know Sheet Names | Excel Programming | |||
View All Sheet Names in Workbook at Once | Excel Discussion (Misc queries) | |||
Using Sheet names & Workbook names in VBA coding | Excel Programming | |||
Retrieving the sheet names of another workbook | Excel Programming |