HotXLS-dokumentation Innehåll Startsida Översikt TGridToXLS IXLSWorkbook Startsida Innehåll Översikt

Worksheets egenskap

Returnerar a Worksheets collection that represents all the sheets in the specified Workbook. Read-only Worksheets object

Syntax

property Worksheets: TXLSWorksheets;

Exempel

This example creates a new Worksheet and then places a list of the active Workbook's sheet names in the first column
Sheet := Workbook.Add; for i := 1 to Workbook.Worksheets.Count do Sheet.Cells.Item[i, 1].Value := Workbook.Worksheets[i].Name; Copyright © 2010-2026 losLab Software