Share via


Unprotect Method

Removes protection from a worksheet or workbook. This method has no effect if the worksheet or workbook isn't protected. This method is equivalent to setting the Enabled property of the Protection object to False.

expression.Unprotect(Password)

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Password    This argument is not supported in this version of the Microsoft Office Spreadsheet Component.

Applies to | Workbook Object | Worksheet Object

See Also | Enabled Property | Protect Method | Protection Object