Table of Contents

TExcelFile.GetSheetIndexFromID Method

Returns the ActiveSheet for a stored SheetID. You can use this method together with SheetID to save and restore an ActiveSheet when you are adding or removing sheets.

If the sheet ID doesn't exist, this method will return 0.

Syntax

Unit: FlexCel.Core

function TExcelFile.GetSheetIndexFromID(const aSheetID: TGUID): Integer; virtual; abstract;

Parameters

<-> Parameter Type Description
const aSheetID TGUID

See also