Skip to main content

TdxCustomSpreadSheet.VisibleSheetCount Property

Returns the number of non-hidden sheets within a workbook.

Declaration

property VisibleSheetCount: Integer read;

Property Value

Type
Integer

Remarks

Use this property to obtain the current number of worksheets whose Visible property is set to True. The VisibleSheetCount property is particularly useful to identify the maximum visible sheet’s index within the current workbook.

The value returned by the VisibleSheetCount property cannot exceed the total number of sheets within a workbook returned by the SheetCount property.

See Also