Excel.Interfaces.PivotTableCollectionLoadOptions interface
Represents a collection of all the PivotTables that are part of the workbook or worksheet.
Remarks
Properties
$all | Specifying |
allow |
For EACH ITEM in the collection: Specifies if the PivotTable allows the application of multiple PivotFilters on a given PivotField in the table. |
enable |
For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user. |
id | For EACH ITEM in the collection: ID of the PivotTable. |
layout | For EACH ITEM in the collection: The PivotLayout describing the layout and visual structure of the PivotTable. |
name | For EACH ITEM in the collection: Name of the PivotTable. |
refresh |
For EACH ITEM in the collection: Specifies whether the PivotTable refreshes when the workbook opens. Corresponds to "Refresh on load" setting in the UI. |
use |
For EACH ITEM in the collection: Specifies if the PivotTable uses custom lists when sorting. |
worksheet | For EACH ITEM in the collection: The worksheet containing the current PivotTable. |
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
allowMultipleFiltersPerField
For EACH ITEM in the collection: Specifies if the PivotTable allows the application of multiple PivotFilters on a given PivotField in the table.
allowMultipleFiltersPerField?: boolean;
Property Value
boolean
Remarks
enableDataValueEditing
For EACH ITEM in the collection: Specifies if the PivotTable allows values in the data body to be edited by the user.
enableDataValueEditing?: boolean;
Property Value
boolean
Remarks
id
For EACH ITEM in the collection: ID of the PivotTable.
id?: boolean;
Property Value
boolean
Remarks
layout
For EACH ITEM in the collection: The PivotLayout describing the layout and visual structure of the PivotTable.
layout?: Excel.Interfaces.PivotLayoutLoadOptions;
Property Value
Remarks
name
For EACH ITEM in the collection: Name of the PivotTable.
name?: boolean;
Property Value
boolean
Remarks
refreshOnOpen
For EACH ITEM in the collection: Specifies whether the PivotTable refreshes when the workbook opens. Corresponds to "Refresh on load" setting in the UI.
refreshOnOpen?: boolean;
Property Value
boolean
Remarks
useCustomSortLists
For EACH ITEM in the collection: Specifies if the PivotTable uses custom lists when sorting.
useCustomSortLists?: boolean;
Property Value
boolean
Remarks
worksheet
For EACH ITEM in the collection: The worksheet containing the current PivotTable.
worksheet?: Excel.Interfaces.WorksheetLoadOptions;
Property Value
Remarks
Office Add-ins