<κλάση header="doc-nav" aria-label="Πλοήγηση τεκμηρίωσης"> Τεκμηρίωση HotXLS <κλάση nav="doc-links"> Περιεχόμενα Αρχική Επισκόπηση TGridToXLS IXLSWorkbook <κλάση div="nav topic-quick-nav" aria-label="Topic shortcuts"> Αρχική Περιεχόμενα Επισκόπηση

Count ιδιότητα

<κλάση div="indent"> <κλάση div="txt"> Επιστρέφει the number of sheets in the Worksheets collection. Read-only Integer

Σύνταξη

<κλάση div="indent"> <κλάση div="txt"> property Count: Integer;

Παράδειγμα

<κλάση div="indent"> <κλάση div="txt"> This example uses the Count property to set the value of A1 cell on the first sheet
<κλάση pre="code"> Workbook.Sheets[1].Range['A1','A1'].Value := Workbook.Sheets.Count; <κλάση footer="reference-footer">Copyright © 2010-2026 losLab Software