Table of Contents

XlsFile.GetSheetIndexFromID Method

Returns the ActiveSheet for a stored ExcelFile.SheetID. You can use this method together with ExcelFile.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

Namespace: FlexCel.XlsAdapter

public override Int32 GetSheetIndexFromID(Guid aSheetID)

Parameters

<-> Parameter Type Description
aSheetID Guid

See also