Search Results for

    Show / Hide Table of Contents

    TProtection.SetModifyPassword Method

    Sets the password for modifying the file. It won't encrypt the file, it just won't let Excel save the file. On Excel goto Options->Security to check it. Note that you can only set it, there is no way to retrieve an existing password.

    Syntax

    Namespace: FlexCel.Core

    public void SetModifyPassword(String modifyPassword, Boolean recommendReadOnly, String reservingUser)

    Parameters

    <-> Parameter Type Description
    modifyPassword String The new password. Set it to null to clear it.
    recommendReadOnly Boolean When true, Excel will recommend read only when opening a file.
    reservingUser String The user that reserves the file. It will appear on the password dialog on Excel.

    See also

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