Docs HotXLS

Méthode Delete

Deletes the sheet from the Workbook

Syntaxe

procedure Delete;
procedure Delete(lcid: Integer);
lcid Integer. The locale ID

Exemple

This example deletes the last Worksheet from the Workbook

Workbook.Sheets[Workbook.Sheets.Count].Delete;