Documentazione HotXLS

Count proprietà

Restituisce the number of sheets in the Worksheets collection. Read-only Integer

Sintassi

proprietà Count: Integer;

Esempio

This example uses the Count proprietà to set the value of A1 cell on the first sheet

Workbook.Sheets[1].Range['A1','A1'].Value := Workbook.Sheets.Count;