Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Removes protection from the workbook.

Signature
C#
C#
 public void Unprotect()
Signature
vb.net
vb.net
Public Sub Unprotect()
Remarks

Calling Unprotect will remove both the workbook protection and workbook encryption. If you want to remove only one of those, call Unprotect and then reset either the protection or encryption.

Example
Code Block
csharp
csharp
titleC#
wb.Unprotect();
Code Block
vbnet
vbnet
titlevb.net
wb.Unprotect()