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