Unprotect a Worksheet

Unprotect a Worksheet

Using Microsoft Excel

To remove protection from a worksheet:

From the Tools menu, select Protection followed by Unprotect Sheet. Protection will be removed unless the worksheet is password protected. In this case, a dialog prompts for the password. Enter the password and worksheet will be unprotected then.

Unprotecting a Simply Protected Worksheet Using Aspose.Cells

A worksheet can be unprotected by calling the Worksheet class' Unprotect method. A simply protected worksheet is one which is not protected with a password. Such worksheets can be unprotected by calling the Unprotect method without passing a parameter.

Unprotecting a Password Protected Worksheet Using Aspose.Cells

A password protected worksheet is one that is protected with a password. Such worksheets can be unprotected by calling an overloaded version of the Unprotect method that takes the password as a parameter.