Search Results for

    Show / Hide Table of Contents

    ExcelFile.GetSheetSelected Method

    Returns true if a sheet is selected, false otherwise. Note that you might select many sheets in Excel by shift or ctrl-clicking the sheet tabs. Also note that when changing the ActiveSheet, the sheet selected will be reset to the active sheet. So if you want to find out which sheets are selected in a file, you should call this method after opening the file but before changing the active sheet. This property can work in different windows depending on the value of ActiveWindow

    Syntax

    Namespace: FlexCel.Core

    public abstract Boolean GetSheetSelected(Int32 sheetIndex)

    Parameters

    <-> Parameter Type Description
    sheetIndex Int32 Sheet index for the tab we want to know if it is selected. 1 based.

    Returns

    True is the sheet is selected, false otherwise.

    See also

    • ExcelFile
    In This Article
    Back to top FlexCel Studio for the .NET Framework v7.24.0.0
    © 2002 - 2025 tmssoftware.com