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

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;
Copyright©2007-2019 loslab.com