Search Results for

    Show / Hide Table of Contents

    ExcelFile.GetTable Method

    Overloads

    • ExcelFile.GetTable(String)
    • ExcelFile.GetTable(Int32)
    • ExcelFile.GetTable(String, Boolean)

    ExcelFile.GetTable(String)

    Returns the definition for a table in the file. Note that this method will return any table in the file, not only in the active sheet, as table names are unique in the whole workbook. You can find which sheet the table is in with GetTableSheet

    Syntax

    Namespace: FlexCel.Core

    public TTableDefinition GetTable(String tableName)

    Parameters

    <-> Parameter Type Description
    tableName String Name of the table.

    Returns

    Null if the table doesn't exist, or the table definition otherwise.

    See also

    • ExcelFile

    ExcelFile.GetTable(Int32)

    Returns the table definition for the table at position tableIndex, for the active sheet. (1 based)

    Syntax

    Namespace: FlexCel.Core

    public abstract TTableDefinition GetTable(Int32 tableIndex)

    Parameters

    <-> Parameter Type Description
    tableIndex Int32 Position of the table in the active sheet. (1-based)

    Returns

    The table definition. If tableIndex is out of range, then it will throw an Exception.

    See also

    • ExcelFile

    ExcelFile.GetTable(String, Boolean)

    Returns the definition for a table in the file. Note that this method will return any table in the file, not only in the active sheet, as table names are unique in the whole workbook. You can find which sheet the table is in with GetTableSheet

    Syntax

    Namespace: FlexCel.Core

    public abstract TTableDefinition GetTable(String tableName, Boolean ignoreFormulas)

    Parameters

    <-> Parameter Type Description
    tableName String Name of the table.
    ignoreFormulas Boolean If true, this method won't return the formulas for the totals and the column.
    This parameter allows to get the table a little faster, when you are not interested in the formulas.

    Returns

    Null if the table doesn't exist, or the table definition otherwise.

    See also

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