Search Results for

    Show / Hide Table of Contents

    TProtectedRange.Create Method

    Overloads

    • TProtectedRange.Create
    • TProtectedRange.Create(string, string, TXlsCellRangeArray)

    TProtectedRange.Create

    Creates an empty protected range.

    Syntax

    Unit: FlexCel.Core

    class function TProtectedRange.Create: TProtectedRange; static; overload;

    See also

    • TProtectedRange

    TProtectedRange.Create(string, string, TXlsCellRangeArray)

    Creates and initializes a protected range.

    Syntax

    Unit: FlexCel.Core

    class function TProtectedRange.Create(const aName: string; const aPassword: string; const aRanges: TArray<TXlsCellRange>): TProtectedRange; static; overload;

    Parameters

    <-> Parameter Type Description
    const aName string Name for the protected range.
    const aPassword string Password to modify the cells. Keep it null if you don't want to set a password.
    const aRanges TArray<​TXls​Cell​Range> Ranges of cells where this protected range applies. You might pass an array of TXlsCellRanges here or just a single TXlsCellRange object.

    See also

    • TProtectedRange
    In This Article
    Back to top FlexCel Studio for VCL and FireMonkey v7.24
    © 2002 - 2025 tmssoftware.com