Search Results for

    Show / Hide Table of Contents

    TProtection.SetWorkbookProtection Method

    Protects the workbook. On Excel goto Protect->Workbook to check it.

    Syntax

    Unit: FlexCel.Core

    procedure TProtection.SetWorkbookProtection(const workbookPassword: string; const workbookProtectionOptions: TWorkbookProtectionOptions);

    Parameters

    <-> Parameter Type Description
    const workbookPassword string Password to protect the file. You can set it to null to clear it.
    const workbookProtectionOptions TWorkbookProtection​Options The options to protect.

    See also

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