Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxCustomSpreadSheet.SheetCount Property

Returns the total number of sheets within a workbook.

#Declaration

Delphi
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