TProtection.SetSheetProtection Method
Protects a sheet. On Excel goto Protect->Sheet to check it.
Syntax
Namespace: FlexCel.Core
public void SetSheetProtection(String sheetPassword, TSheetProtectionOptions sheetProtectionOptions)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
sheetPassword | String | Password to protect the active sheet. You can set it to null to clear it. | |
sheetProtectionOptions | TSheetProtectionOptions | The options to protect. |