Version

Search Results

SetSecurityDescriptor Method

Sets the SecurityDescriptor property from the specified user accounts Syntax Parameters permissions One or more user permissions used to generate a security descriptor for a WorksheetProtectedRange

Title Property (WorksheetProtectedRange)

Returns or sets the name of the range. Syntax

Unprotect() Method

Removes the password from the range. Syntax Remarks Note: If the range is not currently protected (i.e. IsProtected returns false) the method will not do anything.

Unprotect(SecureString) Method

Attempts to use the specified password to unlock the range. Syntax Parameters password The password to validate against the current Worksheet protection password Remarks Note: If the range is not currently protected (i.e. IsProtected returns false) the method will not do anything.

Unprotect(String) Method

Attempts to use the specified password to unlock the range. Syntax Parameters password The password to validate against the current Worksheet protection password Remarks Note: If the range is not currently protected (i.e. IsProtected returns false) the method will not do anything.

Unprotect Method (WorksheetProtectedRange)

Attempts to use the specified password to unlock the range. Overload List

Worksheet Property (WorksheetProtectedRange)

Returns the worksheet with which the edit range is associated. Syntax

WorksheetProtectedRange Constructor(String)

Initializes a new WorksheetProtectedRange Syntax Parameters title The name of the range

WorksheetProtectedRange Constructor(String,SecureString)

Initializes a new WorksheetProtectedRange Syntax Parameters name The name of the rangepassword The password for the range or null to have no password.

WorksheetProtectedRange Constructor(String,String)

Initializes a new WorksheetProtectedRange Syntax Parameters name The name of the rangepassword The password for the range or null to have no password.