PivotTable.AllocateChanges Method
Performs a writeback operation for all edited cells in a PivotTable report based on an OLAP data source.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub AllocateChanges
'Usage
Dim instance As PivotTable
instance.AllocateChanges()
void AllocateChanges()
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 committing 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.