Category: Information Function.
Description: Returns the number of sheets in a reference.
Syntax: SHEETS(reference)
The reference parameter is optional.
If the parameter is omitted, the number of sheets in the workbook that contains the function is returned.