Search Results for

    Show / Hide Table of Contents

    TWorkspace.Add Method

    Adds a file to the workspace. Whenever you recalculate any file in this workspace, all linked files will be recalculated too. Note that you can't add two files with the same name or same reference twice to this collection.

    Syntax

    Namespace: FlexCel.Core

    public void Add(String FileName, ExcelFile xls)

    Parameters

    <-> Parameter Type Description
    FileName String Name that this file will have in the workspace. When recalculating a linked formula, this name will be used.
    If you want to include paths in the name you can too, but it is normally unnecessary since FlexCel will search for the simple filename anyway.
    You only need to include paths if you have 2 files with the same name in different folders used in the recalculation.
    xls ExcelFile Excel file to add.

    See also

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