HotXLS Delphi Excel Read Write Library / Component Developers Guide loslab Inc.

Worksheet property

Specifies the Worksheet. Read/write IXLSWorksheet.

Syntax

property Worksheet: IXLSWorksheet;

Example

This example sets the Worksheet.

Var
  Workbook: IXLSWorkbook;
begin
  Workbook := TXLSWorkbook.Create;
  Workbook.Open('book.xls');
  GridToXLS1.Worksheet := Workbook.Sheets.Add;
end;
Copyright©2007-2019 loslab.com