Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
How to put the total number of sheets in a work cell?
Thanks |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
One way...
Create this defined name... Goto the menu InsertNameDefine Name: SheetNames Refers to: =GET.WORKBOOK(1)&T(NOW()) OK Then, to get the count of worksheets: =COUNTA(INDEX(SheetNames,0)) -- Biff Microsoft Excel MVP "booshi" wrote in message ... How to put the total number of sheets in a work cell? Thanks |
#3
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
hi
i don't think there is a function that will do that. there used to be a call function but that was removed in xl2k (i think) due to security issues. here is a vb solutlions that works Sub countworksheets() Range("A1").Value = ActiveWorkbook.Sheets.Count End Sub paste the macro in a standard modual. regards FSt1 "booshi" wrote: How to put the total number of sheets in a work cell? Thanks . |
#4
![]() |
|||
|
|||
![]()
To count the number of sheets in an Excel workbook:
To display the total number of sheets in a different cell:
__________________
I am not human. I am an Excel Wizard |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Count number of sheets | Excel Discussion (Misc queries) | |||
Count number of sheets | Excel Worksheet Functions | |||
Count number of sheets | Excel Discussion (Misc queries) | |||
How can I count number of sheets present in a workbook? | Excel Discussion (Misc queries) | |||
Count the number of sheets. | Excel Discussion (Misc queries) |