Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
Description

Excerpt

Removes protection from the workbook.

Signature
C#C#
Wiki Markup
{description}
{excerpt}Removes protection from the workbook.{excerpt}
{signature:C#}
 public void Unprotect()
Signature
{signature}{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.

{signature}
{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.
{remarks}
{example}{code:csharp|title=C#}
wb.Unprotect();
{code}
{code:vbnet|title=vb.net
}
wb.Unprotect(){code}

{example}
Example
Code Block
csharpcsharp
titleC#
Code Block
vbnetvbnettitle