Unprotect Method

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

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.