You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Get the range object containing the single cell based on row and column numbers. The cell can be outside the bounds of its parent range, as long as it stays within the worksheet grid. The returned cell is located relative to the top left cell of the range.
Get an object that represents a range that's offset from the specified range. The dimension of the returned range matches this range. If the resulting range is forced outside the bounds of the worksheet grid, an exception is thrown.
Insert a cell or a range of cells into the worksheet in place of this range, and shifts the other cells to make space. Returns a new Range object at the now blank space.
Represents the range reference in A1-style. Address value contains the Sheet reference (for example, Sheet1!A1:B4). Read-only.
addressLocal
string
Represents range reference for the specified range in the language of the user. Read-only.
cellCount
int
Number of cells in the range. Read-only.
columnCount
int
Represents the total number of columns in the range. Read-only.
columnHidden
Boolean
Indicates whether all columns of the current range are hidden.
columnIndex
int
Represents the column number of the first cell in the range. Zero-indexed. Read-only.
formulas
Json
Represents the formula in A1-style notation.
formulasLocal
Json
Represents the formula in A1-style notation, in the user's language and number-formatting locale. For example, the English "=SUM(A1, 1.5)" formula would become "=SUMME(A1; 1,5)" in German.
formulasR1C1
Json
Represents the formula in R1C1-style notation.
hidden
Boolean
Represents if all cells of the current range are hidden. Read-only.
numberFormat
Json
Represents Excel's number format code for the given cell.
rowCount
int
Returns the total number of rows in the range. Read-only.
rowHidden
Boolean
Indicates whether all rows of the current range are hidden.
rowIndex
int
Returns the row number of the first cell in the range. Zero-indexed. Read-only.
text
Json
Text values of the specified range. The Text value doesn't depend on the cell width. The # sign substitution that happens in Excel UI doesn't affect the text value returned by the API. Read-only.
valueTypes
Json
Represents the type of data of each cell. The possible values are: Unknown, Empty, String, Integer, Double, Boolean, Error. Read-only.
values
Json
Represents the raw values of the specified range. The data returned can be of type string, number, or a Boolean. Cell that contains an error returns the error string.