SheetCount

Returns the number of sheets in the active workbook.

Usage

@SheetCount([<IncludeHiddenSheets>])

Argument Name Description
IncludeHiddenSheets Optional (default value: true); Controls whether the returned count includes both visible and hidden sheets OR only visible sheets.


Examples

@SheetCount

function example

A
1 Sheet Count
Procedure  
  Method Overload ErrorHandlingMode  
    Argument Value Comment
OnAfterBuild  
  SetEntry Text    
    Address Data.Cell  
    CellByCell True  
    CellCondition  
    Entry @SheetCount()  
A B
1 Sheet Count 2.0