HotXLS Docs
Contents
Home
Overview
TGridToXLS
IXLSWorkbook
Home
Contents
Overview
Delete method
Deletes the sheet from the Workbook.
Syntax
procedure
Delete;
procedure
Delete(lcid: Integer);
lcid
Integer. The locale ID.
Example
This example deletes the last Worksheet from the Workbook.
Workbook.Sheets[Workbook.Sheets.Count].Delete;