Protect and Unprotect Worksheet

Protect and unprotect Worksheet in MS Excel

protect and unprotect Worksheet

  1. Click Review > Protect Worksheet.
  2. Enter a password in the Password box.
  3. Select allow options.
  4. Select OK, re-enter the password to confirm it, and then select OK again.

Protect Worksheet Using Aspose.Cell for .Net

Only need the following simple lines of code to implement protecting workbook structure of Excel files.

Unprotect Worksheet Using Aspose.Cell for .Net

Unprotecting worksheet is easy with Aspose.Cells API. If worksheet is password-protected, a correct password is required.

Advance topics

  • Advanced Protection Settings since Excel XP
  • Detect if Worksheet is Password Protected
  • Protecting Worksheets
  • Unprotect a Worksheet
  • Verify Password Used to Protect the Worksheet