title | keywords | f1_keywords | api_name | ms.assetid | ms.date | ms.localizationpriority | ||
---|---|---|---|---|---|---|---|---|
Worksheet.PivotTableAfterValueChange event (Excel) |
vbaxl10.chm502082 |
|
|
097e1c1e-4df6-a0d1-de67-0e0752d2286a |
05/30/2019 |
medium |
Occurs after a cell or range of cells inside a PivotTable are edited or recalculated (for cells that contain formulas).
expression.PivotTableAfterValueChange (TargetPivotTable, TargetRange)
expression A variable that represents a Worksheet object.
Name | Required/Optional | Data type | Description |
---|---|---|---|
TargetPivotTable | Required | PivotTable | The PivotTable that contains the edited or recalculated cells. |
TargetRange | Required | Range | The range that contains all the edited or recalculated cells. |
Nothing
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.
[!includeSupport and feedback]