Share via


PivotCell.AllocateChange Method (Excel)

Performs a writeback operation on the specified cell in a PivotTable report based on an OLAP data source.

Version Information

Version Added: Excel 2010

Syntax

expression .AllocateChange

expression A variable that represents a PivotCell object.

Return Value

Nothing

Remarks

This method executes an UPDATE CUBE statement to add just the change in this particular cell, but also includes any previous changes applied. After the UPDATE CUBE statement is executed, a PivotTable update is run, and then a ROLLBACK TRANSACTION statement is executed.

Running the AllocateChange method for a cell in a PivotTable report based on a non-OLAP data source generates a run-time error.

See Also

Concepts

PivotCell Object

PivotCell Object Members