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

WorksheetProtection

new WorksheetProtection(a: Worksheet): WorksheetProtection

Returns WorksheetProtection

$t: Type
allowDeletingColumns: boolean
allowDeletingRows: boolean
allowEditObjects: boolean
allowEditScenarios: boolean
allowFiltering: boolean
allowFormattingCells: boolean
allowFormattingColumns: boolean
allowFormattingRows: boolean
allowInsertingColumns: boolean
allowInsertingHyperlinks: boolean
allowInsertingRows: boolean
allowSorting: boolean
allowUsingPivotTables: boolean
selectionMode: WorksheetProtectedSelectionMode

Gets the range at the specified index in the collection. The range at the specified index.

allowedEditRanges(index: number): WorksheetProtectedRange

Parameters

  • index: number

    The zero-based index of the range to get.

Returns WorksheetProtectedRange