Syntax:=WorksheetCount(Optional WorkbookIndex )
Description:Returns the number of worksheets.
WorkbookIndex : Optional. Name or number of the workbook to use. If omitted the current workbook will be used.
Example:=WorksheetCount()