Ask Learn
Preview
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign inThis browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
An interface describing the data returned by calling tableColumn.toJSON()
.
filter | Retrieves the filter applied to the column. |
id | Returns a unique key that identifies the column within the table. |
index | Returns the index number of the column within the columns collection of the table. Zero-indexed. |
name | Specifies the name of the table column. |
values | Represents the raw values of the specified range. The data returned could be a string, number, or boolean. Cells that contain an error will return the error string. If the returned value starts with a plus ("+"), minus ("-"), or equal sign ("="), Excel interprets this value as a formula. |
values |
A JSON representation of the values in the cells in this table column. Unlike |
values |
A JSON representation of the values in the cells in this table column. Unlike |
Retrieves the filter applied to the column.
filter?: Excel.Interfaces.FilterData;
Returns a unique key that identifies the column within the table.
id?: number;
number
Returns the index number of the column within the columns collection of the table. Zero-indexed.
index?: number;
number
Specifies the name of the table column.
name?: string;
string
[ API set: ExcelApi 1.1 for getting the name; 1.4 for setting it. ]
Represents the raw values of the specified range. The data returned could be a string, number, or boolean. Cells that contain an error will return the error string. If the returned value starts with a plus ("+"), minus ("-"), or equal sign ("="), Excel interprets this value as a formula.
values?: any[][];
any[][]
A JSON representation of the values in the cells in this table column. Unlike TableColumn.values
, TableColumn.valuesAsJson
supports all data types which can be in a cell. Examples include formatted number values and web images, in addition to the standard boolean, number, and string values. Data returned from this API always aligns with the en-US locale. To retrieve data in the user's display locale, use TableColumn.valuesAsJsonLocal
.
valuesAsJson?: CellValue[][];
Excel.CellValue[][]
A JSON representation of the values in the cells in this table column. Unlike TableColumn.values
, TableColumn.valuesAsJsonLocal
supports all data types which can be in a cell. Examples include formatted number values and web images, in addition to the standard boolean, number, and string values. Data returned from this API always aligns with the user's display locale. To retrieve data independent of locale, use TableColumn.valuesAsJson
.
valuesAsJsonLocal?: CellValue[][];
Excel.CellValue[][]
Office Add-ins feedback
Office Add-ins is an open source project. Select a link to provide feedback:
Ask Learn is an AI assistant that can answer questions, clarify concepts, and define terms using trusted Microsoft documentation.
Please sign in to use Ask Learn.
Sign in