Partager via


DocEvents_Event.PivotTableAfterValueChange Event

Occurs after a cell or range of cells inside a PivotTable are edited or recalculated (for cells that contain formulas).

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Event PivotTableAfterValueChange As DocEvents_PivotTableAfterValueChangeEventHandler
'Usage
Dim instance As DocEvents_Event
Dim handler As DocEvents_PivotTableAfterValueChangeEventHandler

AddHandler instance.PivotTableAfterValueChange, handler
event DocEvents_PivotTableAfterValueChangeEventHandler PivotTableAfterValueChange

Remarks

The PivotTableAfterValueChange event does not occur under any conditions other than editing or recalculating cells. For example, it will not occur when the PivotTable is refreshed, sorted, filtered, or drilled down on, even though those operations move cells and potentially retrieve new values from the OLAP data source.

See Also

Reference

DocEvents_Event Interface

DocEvents_Event Members

Microsoft.Office.Interop.Excel Namespace