Number of Sheets in a workbook formula

O

Otto Moehrbach

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
 
P

PCLIVE

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.
 
Top