共用方式為


PivotTable.AllocateChanges Method (Excel)

Performs a writeback operation for all edited cells in a PivotTable report based on an OLAP data source.

Version Information

Version Added: Excel 2010

Syntax

expression .AllocateChanges

expression A variable that represents a PivotTable object.

Return Value

Nothing

Remarks

The AllocateChanges method will execute an UPDATE CUBE statement for all changes made in the values area of the PivotTable since the last apply changes operation was committed, or since the PivotTable was created if commiting apply changes has never been performed. This method generates a run-time error if it is executed on a PivotTable report based on a non-OLAP data source.

請參閱

概念

PivotTable Object Members

PivotTable Object