Syntax:ChartCount(Optional WorkbookIndex, Optional WorksheetIndex)
Description:Counts the number of Excel charts. When no Workbook or Worksheet is given, it returns the count for all worksheets in the current workbook.
Example:=ChartCount() =ChartCount(1) =ChartCount(1,1) =ChartCount("book1") =ChartCount("book1","sheet1")