GetSheetCount Method

Description

Returns the total number of sheets in the design-time or run-time data table.

Syntax

DataTable.GetSheetCount

Return Value

Number

Example

The following example uses the GetSheetCount method to find the total number of sheets in the design-time or run-time data table and writes it to the report.

sheetcount = DataTable.GetSheetCount

Reporter.ReportEvent 0, "Sheet number", "There are " & sheetcount & " sheets in the data table."