DocEvents_Event.PivotTableBeforeAllocateChanges Event
Occurs before changes are applied to a PivotTable.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Event PivotTableBeforeAllocateChanges As DocEvents_PivotTableBeforeAllocateChangesEventHandler
'Usage
Dim instance As DocEvents_Event
Dim handler As DocEvents_PivotTableBeforeAllocateChangesEventHandler
AddHandler instance.PivotTableBeforeAllocateChanges, handler
event DocEvents_PivotTableBeforeAllocateChangesEventHandler PivotTableBeforeAllocateChanges
Remarks
The PivotTableBeforeAllocateChanges event occurs immediately before Excel executes an UPDATE CUBE statement to apply all changes to the PivotTable's OLAP data source, and immediately after the user has chosen to apply changes in the user interface.