TExportWorkSheetProtection

Description

TExportWorkSheetProtection class stores the information about protection of a specific worksheet.

Properties

NameTypeDescription
EnabledBoolean If Enabled is false, the sheet is not protected.
PasswordOWideString Protect the worksheet with a password.
AllowOptionsTExportWorkSheetProtectionOptions Set of allowed options. If you enable an option, that means that the user is allowed to do the operation.
epoSelectLockedCells, epoSelectUnlockedCells, epoFormatCells, epoFormatColumns, epoFormatRows, epoInsertColumns, epoInsertRows, epoInsertHyperlinks, epoDeleteColumns, epoDeleteRows, epoSort, epoUseAutoFilter, epoUsePivotTables
Default: [epoSelectLockedCells, epoSelectUnlockedCells]
Categories