Skip to main content

TdxCustomSpreadSheet.SheetCount Property

Returns the total number of sheets within a workbook.

Declaration

property SheetCount: Integer read;

Property Value

Type
Integer

Remarks

This property returns the number of worksheets accessible via the Sheets property.

The SheetCount property is particularly useful to identify the maximum valid sheet index in the current workbook.

Note

The value returned by the SheetCount property also includes the number of visible worksheets.

See Also