ViewSelection
type ViewSelection = object;A sheet’s selection state under a particular workbook view.
activeCell is the single focused cell (always present; defaults to 'A1'
when no selection has been set). activeRanges is Excel’s multi-selection
--- the list of contiguous ranges that make up the selection --- and is
omitted entirely for a plain single-cell selection. When both are set,
activeCell must be contained within one of the entries of activeRanges
(Excel discards the entire activeRanges list otherwise).
Properties
Section titled “Properties”activeCell
Section titled “activeCell”activeCell: string;activeRanges?
Section titled “activeRanges?”optional activeRanges?: string[];sheetName
Section titled “sheetName”sheetName: string;