Table of Contents

TXlsFile.DeleteSheet Method

Deletes sheet aSheet and aSheetCount-1 sheets more to the right. It will change all formula references to that sheet to invalid, and might change the active sheet so it remains valid.

Syntax

Unit: FlexCel.XlsAdapter

procedure TXlsFile.DeleteSheet(const aSheet: Integer; const aSheetCount: Integer); overload; override;

Parameters

<-> Parameter Type Description
const aSheet Integer First sheet to delete (1-based).
const aSheetCount Integer The number of sheets to delete.

See also