Returns the number of sheets in the specified cell reference.
Syntax
Copy Code
|
|---|
FUNC( [Reference r] ) → Integer |
If the value of the specified argument is not a valid cell reference, the function returns the #REF! error value. If r is omitted, the function returns the number of sheets in the current workbook.
Formula
Copy Code
|
|---|
=SHEETS() |
Function Reference
COLUMNS Function
ROWS Function
SHEET Function