Static
$tStatic
nextReturns the cell that represents the active cell.
Returns the index of the selection group that contains the active cell.
Returns a read-only collection of the ranges of cells that are selected.
Returns or sets a string containing the cell ranges in A1 cell reference mode.
If there are multiple ranges then they are separated by the default union operator (',').
Adds a new cell range for the specified cell and makes it the active cell.
[[ArgumentException]] The 'activeCell' must be within the specified 'range'.
The new range to add
The new active cell for which a new selection will be added. This must be a cell within 'range'.
True to adjust the 'range' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Adds a new cell range for the specified cell and makes it the active cell.
[[ArgumentException]] The 'activeCellAddress' must be within the specified 'rangeAddress'.
The new A1 address of the range to add
The A1 address of the new active cell for which a new selection will be added. This must be a cell within 'rangeAddress'.
True to adjust the 'rangeAddress' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Adds a new range to the end of the [[cellRanges]]
The range to be added
True to adjust the 'range' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Adds a new range to the end of the [[cellRanges]]
The A1 address of the range to be added
True to adjust the 'rangeAddress' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Replaces the range containing the [[activeCell]] with the specified range and using the specified cell as the new [[activeCell]].
[[ArgumentException]] The 'activeCell' must be within the specified 'range'.
The new range that will replace the range at index [[activeCellRangeIndex]].
The new active cell from within that range.
True to adjust the 'range' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Replaces the range containing the [[activeCell]] with the specified range and using the specified cell as the new [[activeCell]].
[[ArgumentException]] The 'activeCellAddress' must be within the specified 'rangeAddress'.
The A1 address of the new range that will replace the range at index [[activeCellRangeIndex]].
The A1 address of the new active cell from within that range.
True to adjust the 'rangeAddress' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Clears the current selection and uses the specified information to reinitialize the selection.
[[ArgumentNullException]] The 'ranges' cannot be null.
[[ArgumentException]] The 'ranges' cannot be a 0 length array.
[[ArgumentOutOfRangeException]] The 'newActiveRangeIndex' must be an index within the specified 'ranges'.
[[ArgumentException]] The 'activeCell' must be within the range index specified by the 'newActiveRangeIndex'.
The new selection ranges. There must be 1 or more ranges.
The cell to use for the [[activeCell]]. This must be within the specified 'ranges'.
The index of the range that contains the active cell.
True to adjust the 'ranges' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Clears the current selection and uses the specified cell as the [[activeCell]] and specified range as the new selection.
[[ArgumentException]] The 'activeCell' must be within the specified 'range'.
The new selection range
The cell to use for the [[activeCell]]. This must be within the specified 'range'.
True to adjust the 'range' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Clears the current selection and uses the specified information to reinitialize the selection.
[[ArgumentException]] The 'rangesAddress' must contain at least 1 cell/range.
[[ArgumentOutOfRangeException]] The 'newActiveRangeIndex' must be an index within the specified 'rangesAddress'.
[[ArgumentException]] The 'activeCellAddress' must be within the range index specified by the 'newActiveRangeIndex'.
The new selection ranges. There must be 1 or more ranges.
The cell to use for the [[activeCell]]. This must be within the specified 'rangesAddress'.
The index of the range that contains the active cell.
True to adjust the 'rangesAddress' such that it contains any intersecting merged cells; otherwise false to use the range as it is.
Changes the [[activeCell]] and [[activeCellRangeIndex]] to the specified values.
The selected cell to change to the active cell
Optionally the index of the range in the [[cellRanges]] that contains the specified cell.
Changes the [[activeCell]] and [[activeCellRangeIndex]] to the specified values.
The A1 address of the selected cell to change to the active cell
Optionally the index of the range in the [[cellRanges]] that contains the specified cell.
Deselect the cells in the specified range.
Note: if the specified range encompasses all the cells in the selection, the selection will be changed to only include the current [[activeCell]].
The range whose cells should be removed from the selection.
Static
compareStatic
compareStatic
equalsStatic
equalsStatic
getStatic
getStatic
getStatic
reference
An object that represents the selected items within a [[Spreadsheet]]