WriteProtectionOptions Members
Contains write-protection options for a workbook.Properties
Name | Description |
---|---|
IsPasswordProtected | Indicates whether a workbook is write-protected. |
ReadOnlyRecommended | Returns or specifies whether the author of the workbook recommended that it be opened as read-only. |
UserName | Returns or specifies the name of the user who write-protected the workbook. |
Methods
Name | Description |
---|---|
CheckPassword(String) | Checks whether the specified password is the same as the password used to write-protect a workbook. |
ClearPassword() | Clears the password used to modify a workbook. |
SetPassword(String) | Specifies the password used to modify a workbook. |
See Also