Microsoft Excel · Schema
Range
Represents a cell range in a worksheet.
AutomationData AnalysisMicrosoftMicrosoft 365OfficeSpreadsheets
Properties
| Name | Type | Description |
|---|---|---|
| address | string | Range reference in A1-style notation. |
| addressLocal | string | Range reference in locale-specific notation. |
| cellCount | integer | Number of cells in the range. |
| columnCount | integer | Number of columns. |
| columnIndex | integer | Column number of the first cell. |
| rowCount | integer | Number of rows. |
| rowIndex | integer | Row number of the first cell. |
| hidden | boolean | Whether the range is hidden. |
| formulas | array | Formulas in A1-style notation. |
| values | array | Raw values of the range. |
| text | array | Text values of the range. |
| numberFormat | array | Number format codes. |
| valueTypes | array | Type of data in each cell. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/microsoft-excel/refs/heads/main/json-schema/excel-graph-api-range-schema.json",
"title": "Range",
"description": "Represents a cell range in a worksheet.",
"type": "object",
"properties": {
"address": {
"type": "string",
"description": "Range reference in A1-style notation."
},
"addressLocal": {
"type": "string",
"description": "Range reference in locale-specific notation."
},
"cellCount": {
"type": "integer",
"description": "Number of cells in the range."
},
"columnCount": {
"type": "integer",
"description": "Number of columns."
},
"columnIndex": {
"type": "integer",
"description": "Column number of the first cell."
},
"rowCount": {
"type": "integer",
"description": "Number of rows."
},
"rowIndex": {
"type": "integer",
"description": "Row number of the first cell."
},
"hidden": {
"type": "boolean",
"description": "Whether the range is hidden."
},
"formulas": {
"type": "array",
"description": "Formulas in A1-style notation.",
"items": { "type": "array", "items": {} }
},
"values": {
"type": "array",
"description": "Raw values of the range.",
"items": { "type": "array", "items": {} }
},
"text": {
"type": "array",
"description": "Text values of the range.",
"items": { "type": "array", "items": {} }
},
"numberFormat": {
"type": "array",
"description": "Number format codes.",
"items": { "type": "array", "items": { "type": "string" } }
},
"valueTypes": {
"type": "array",
"description": "Type of data in each cell.",
"items": { "type": "array", "items": { "type": "string" } }
}
}
}