Provides information about the types of changes that are disabled when the associated Workbook is protected.

WorkbookProtection

new WorkbookProtection(a: Workbook): WorkbookProtection

Returns WorkbookProtection

Returns a boolean indicating if the sheets displayed may be modified when the Workbook is protected.

get allowEditStructure(): boolean

Returns boolean

set allowEditStructure(a: boolean): void

Parameters

  • a: boolean

Returns void

Returns a boolean indicating if the Workbook windows may be modified when the Workbook is protected.

get allowEditWindows(): boolean

Returns boolean

set allowEditWindows(a: boolean): void

Parameters

  • a: boolean

Returns void