Click or drag to resize

ExcelWorksheetSecurity Class

Manages the security options for a worksheet.
Inheritance Hierarchy
SystemObject
  ExpertXls.ExcelLibExcelWorksheetSecurity

Namespace:  ExpertXls.ExcelLib
Assembly:  expertxls (in expertxls.dll) Version: 7.0.0
Syntax
public class ExcelWorksheetSecurity

The ExcelWorksheetSecurity type exposes the following members.

Properties
  NameDescription
Public propertyProtectionFlags
Gets the operations allowed for a protected worksheet.
Top
Methods
  NameDescription
Public methodProtectWorksheet
Protect the worksheet using the default protection options.
Public methodProtectWorksheet(String)
Protect the worksheet using the default protection options and set a password required to unprotect the worksheet.
Public methodProtectWorksheet(ExcelProtectionAllowFlags)
Protects the worksheet and allows only the operations specified by the protection flags.
Public methodProtectWorksheet(String, ExcelProtectionAllowFlags)
Protects the worksheet and allows only the operations specified by the protection flags and set a password required to unprotect the worksheet.
Public methodUnprotectWorksheet
Unprotects the worksheet when no password was used to protect the worksheet.
Public methodUnprotectWorksheet(String)
Unprotects the worksheet providing the password used when the worksheet was protected.
Top
See Also