다음을 통해 공유


Workbook.SheetPivotTableAfterValueChange Event (Excel)

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

Version Information

추가된 버전: Excel 2010

Syntax

.SheetPivotTableAfterValueChange(Sh, TargetPivotTable, TargetRange)

A variable that represents a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Sh

필수

Object

The worksheet that contains the PivotTable.

TargetPivotTable

필수

PivotTable

The PivotTable that contains the edited or recalculated cells.

TargetRange

필수

Range

The range that contains all the edited or recalcuated 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.

참고 항목

개념

Workbook Object

Workbook Object Members