TProtection.SetSharedWorkbookProtection Method
Protects the change history from being removed. On Excel goto Protect->Protect Shared Workbook to check it.
Syntax
Unit: FlexCel.Core
procedure TProtection.SetSharedWorkbookProtection(const sharedWorkbookPassword: string; const sharedWorkbookProtectionOptions: TSharedWorkbookProtectionOptions);
Parameters
<-> |
Parameter |
Type |
Description |
const |
sharedWorkbookPassword |
string |
Password to protect this setting. You can set it to null to clear it. |
const |
sharedWorkbookProtectionOptions |
TSharedWorkbook​Protection​Options |
The options to protect. |
See also