Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Is there a formula that will return the number of sheets in a workbook?
Thanks. |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way is to put this function in a standard module, then in any cell of
any sheet type "=NumShts()" without the quotes. HTH Otto Function NumShts() NumShts = Sheets.Count End Function "PCLIVE" wrote in message ... Is there a formula that will return the number of sheets in a workbook? Thanks. |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Thanks Otto,
I already knew this way, but I was trying to avoid vba for this workbook. Anyway, it's been awhile since I posted this question (awhile today). I found another way to do what I needed. Thanks anyway. "Otto Moehrbach" wrote in message ... One way is to put this function in a standard module, then in any cell of any sheet type "=NumShts()" without the quotes. HTH Otto Function NumShts() NumShts = Sheets.Count End Function "PCLIVE" wrote in message ... Is there a formula that will return the number of sheets in a workbook? Thanks. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
add new sheets in a workbook with new sheets being a variable | Excel Discussion (Misc queries) | |||
Count the number of sheets. | Excel Discussion (Misc queries) | |||
Checking a number of sheets | Excel Worksheet Functions | |||
Formula for current month minus one = Quarter number in a macro. | Excel Discussion (Misc queries) | |||
GET.CELL | Excel Worksheet Functions |