Skip to content

Latest commit

 

History

History
44 lines (27 loc) · 1.49 KB

Excel.Workbook.SheetPivotTableAfterValueChange.md

File metadata and controls

44 lines (27 loc) · 1.49 KB
title keywords f1_keywords api_name ms.assetid ms.date ms.localizationpriority
Workbook.SheetPivotTableAfterValueChange event (Excel)
vbaxl10.chm503102
vbaxl10.chm503102
Excel.Workbook.SheetPivotTableAfterValueChange
8460f5f1-d415-7aac-6a3d-fa0944036e9c
05/29/2019
medium

Workbook.SheetPivotTableAfterValueChange event (Excel)

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

Syntax

expression.SheetPivotTableAfterValueChange (Sh, TargetPivotTable, TargetRange)

expression A variable that represents a Workbook object.

Parameters

Name Required/Optional Data type Description
Sh Required Object The worksheet that contains the PivotTable.
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.

Return value

Nothing

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.

[!includeSupport and feedback]