Search Results for

    Show / Hide Table of Contents

    ExcelFile.SetSheetSelected Method

    This method will set a sheet tab as selected. Note that this is different from ActiveSheet in that you might have only a single active sheet, but you might select many tabs by ctrl-clicking them. Also note that whenever you change the ActiveSheet, the selected sheets will be reset to the active sheet only. So if you want to save a file with more than one selected sheet, you should call this method after the last call to activesheet. This property can work in different windows depending on the value of ActiveWindow

    Syntax

    Namespace: FlexCel.Core

    public abstract void SetSheetSelected(Int32 sheetIndex, Boolean selected)

    Parameters

    <-> Parameter Type Description
    sheetIndex Int32 Sheet index for the sheet we want to select or unselect.(1 based)
    selected Boolean If true the sheet will be selected, otherwise it will be unselected.

    See also

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