Represents a range of cells in a worksheet that may be edited by the end user.
Constructors
Section titled "Constructors"WorksheetProtectedRange
new WorksheetProtectedRange(title: string): WorksheetProtectedRange Returns WorksheetProtectedRange
Properties
Section titled "Properties"$t: Type isProtected
Section titled "isProtected"isProtected: boolean title
Section titled "title"title: string worksheet
Section titled "worksheet"worksheet: Worksheet Accessors
Section titled "Accessors"hasPassword
Section titled "hasPassword"Returns true if the range has a password associated with it.
get hasPassword(): boolean Returns boolean
ranges
Section titled "ranges"Returns a collection of ranges that may be edited when the worksheet is protected.
get ranges(): ICollection$1<WorksheetRegion> Returns ICollection$1<WorksheetRegion>
Methods
Section titled "Methods"unprotect
Section titled "unprotect"Removes the password from the range.
unprotect(): void