Base class for a sheet in a Microsoft Excel workbook.
Constructors
Section titled "Constructors"Sheet
new Sheet(a: string, b: Workbook, c: number): Sheet Returns Sheet
Properties
Section titled "Properties"$t: Type name: string tabColorInfo
Section titled "tabColorInfo"tabColorInfo: WorkbookColorInfo Accessors
Section titled "Accessors"hasProtectionPassword
Section titled "hasProtectionPassword"Returns a boolean indicating if the Sheet has been protected with a password.
get hasProtectionPassword(): boolean Returns boolean
isProtected
Section titled "isProtected"Returns a boolean indicating if the Worksheet has been protected.
get isProtected(): boolean Returns boolean
selected
Section titled "selected"Gets the value which indicates whether this worksheet is selected.
get selected(): boolean Returns boolean
sheetIndex
Section titled "sheetIndex"Gets the zero-based index of this sheet in its parent [[Workbook.sheets]] collection.
get sheetIndex(): number Returns number
workbook
Section titled "workbook"Gets the [[workbook]] that owns the worksheet. The Workbook that owns the worksheet.
get workbook(): Workbook Returns Workbook
Methods
Section titled "Methods"moveToSheetIndex
Section titled "moveToSheetIndex"Moves the sheet to a new position in the owning workbook's collections of sheets.
moveToSheetIndex(index: number): void Parameters
- index:
numberThe new 0-based index to where the sheet should be moved.
Returns void
unprotect
Section titled "unprotect"Removes the Sheet protection.
unprotect(): void Returns void
staticInit
Section titled "staticInit"staticInit(): void