Search Results for

    Show / Hide Table of Contents

    ExcelFile.DeleteSheet Method

    Overloads

    • ExcelFile.DeleteSheet(Int32)
    • ExcelFile.DeleteSheet(String)
    • ExcelFile.DeleteSheet(Int32, Int32)

    ExcelFile.DeleteSheet(Int32)

    Deletes the active sheet 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

    Namespace: FlexCel.Core

    public void DeleteSheet(Int32 aSheetCount)

    Parameters

    <-> Parameter Type Description
    aSheetCount Int32 The number of sheets to delete from the active sheet.

    See also

    • ExcelFile
    • ClearSheet

    ExcelFile.DeleteSheet(String)

    Deletes the sheet with name aSheetName. It will change all formula references to that sheet to invalid, and might change the active sheet so it remains valid.

    Syntax

    Namespace: FlexCel.Core

    public void DeleteSheet(String aSheetName)

    Parameters

    <-> Parameter Type Description
    aSheetName String The name of the sheet to delete.

    See also

    • ExcelFile
    • ClearSheet

    ExcelFile.DeleteSheet(Int32, Int32)

    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

    Namespace: FlexCel.Core

    public abstract void DeleteSheet(Int32 aSheet, Int32 aSheetCount)

    Parameters

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

    See also

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