HotXLS Docs
Index
Main
Overview
TGridToXLS
IXLSWorkbook
Main
Index
Overview
Count property
Yields the number of
sheets
in the
Worksheets
collection. Read-only Integer
Syntax
property
Count: Integer;
Example
This example uses the Count property to set the value of A1 cell on the first sheet
Workbook.Sheets[
1
].Range[
'A1'
,
'A1'
].Value := Workbook.Sheets.Count;