Excel.Interfaces.QueryCollectionLoadOptions interface
Represents the collection of queries in the workbook.
Remarks
Properties
$all | Specifying |
error | For EACH ITEM in the collection: Gets the query error message from when the query was last refreshed. |
loaded |
For EACH ITEM in the collection: Gets the query loaded to object type. |
loaded |
For EACH ITEM in the collection: Specifies if the query loaded to the data model. |
name | For EACH ITEM in the collection: Gets the name of the query. Query names cannot contain periods or quotation marks. |
refresh |
For EACH ITEM in the collection: Gets the date and time when the query was last refreshed. |
rows |
For EACH ITEM in the collection: Gets the number of rows that were loaded when the query was last refreshed. If last refresh has errors the value will be -1. |
Property Details
$all
Specifying $all
for the load options loads all the scalar properties (such as Range.address
) but not the navigational properties (such as Range.format.fill.color
).
$all?: boolean;
Property Value
boolean
error
For EACH ITEM in the collection: Gets the query error message from when the query was last refreshed.
error?: boolean;
Property Value
boolean
Remarks
loadedTo
For EACH ITEM in the collection: Gets the query loaded to object type.
loadedTo?: boolean;
Property Value
boolean
Remarks
loadedToDataModel
For EACH ITEM in the collection: Specifies if the query loaded to the data model.
loadedToDataModel?: boolean;
Property Value
boolean
Remarks
name
For EACH ITEM in the collection: Gets the name of the query. Query names cannot contain periods or quotation marks.
name?: boolean;
Property Value
boolean
Remarks
refreshDate
For EACH ITEM in the collection: Gets the date and time when the query was last refreshed.
refreshDate?: boolean;
Property Value
boolean
Remarks
rowsLoadedCount
For EACH ITEM in the collection: Gets the number of rows that were loaded when the query was last refreshed. If last refresh has errors the value will be -1.
rowsLoadedCount?: boolean;
Property Value
boolean
Remarks
Office Add-ins