NativeExcel suite v1.x

Delete method

Deletes the sheet from the workbook.

Syntax

procedure Delete;
procedure Delete(lcid: integer);
lcidInteger. The locale ID.

Example

This example deletes the last worksheet from the workbook.
Workbook.Sheets[Workbook.Sheets.Count].Delete;
Copyright © NikaSoft 2004-2010