Compartir a través de


AppEvents_Event.SheetPivotTableAfterValueChange 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 SheetPivotTableAfterValueChange As AppEvents_SheetPivotTableAfterValueChangeEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_SheetPivotTableAfterValueChangeEventHandler

AddHandler instance.SheetPivotTableAfterValueChange, handler
event AppEvents_SheetPivotTableAfterValueChangeEventHandler SheetPivotTableAfterValueChange

Remarks

The SheetPivotTableAfterValueChange 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

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace