Version

Search Results

WorksheetProtectedRange Class Members

Public Constructors Public Properties Public Methods

HasPassword Property

Returns true if the range has a password associated with it. Syntax

IsProtected Property (WorksheetProtectedRange)

Returns a boolean indicating if the range is currently locked. Syntax Remarks When the associated Worksheet is protected, the ranges with a password will be marked as protected until they are unprotected.

Ranges Property

Returns a collection of ranges that may be edited when the worksheet is protected. Syntax

SecurityDescriptor Property

Returns or sets the security descriptor used to define permissions for accounts that may edit the associated range without a password. Syntax

SetPassword(SecureString) Method

Sets the password required to unlock the associated range of cells. Syntax Parameters password The password that must be entered to unlock the associated range of cells.

SetPassword(String) Method

Sets the password required to unlock the associated range of cells. Syntax Parameters password The password that must be entered to unlock the associated range of cells.

SetPassword Method

Sets the password required to unlock the associated range of cells. Overload List