Page tree

Versions Compared

Key

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

Excerpt

This sets the workbook so that it can be opened in read-only mode with the option to open in read-write mode, if the user supplies a matching password when opening the spreadsheet.

{signature}
{example}{code:csharp|title=C#}
wb.PasswordToModify = "MyPassword";
{code}
{code:vb.net
|title=vb.net
}
wb.PasswordToModify = "MyPassword"{code}

{example}
Signature
C#C#
Wiki Markup
{description}
{excerpt}This sets the workbook so that it can be opened in read\-only mode with the option to open in read\-write mode, if the user supplies a matching password when opening the spreadsheet.{excerpt}
{signature:C#}
 public System.String PasswordToModify{ set; }
Signature
{signature}{signature:vb.net
vb.net
}
Public WriteOnly Property PasswordToModify() As String
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle