다음을 통해 공유


Workbook.SheetPivotTableUpdate Event (Excel)

Occurs after the sheet of the PivotTable report has been updated.

Syntax

.SheetPivotTableUpdate(Sh, Target)

An expression that returns a Workbook object.

Parameters

Name

Required/Optional

Data Type

Description

Sh

필수

Object

The selected sheet.

Target

필수

PivotTable

The selected PivotTable report.

Example

This example displays a message stating that the sheet of the PivotTable report has been updated. This example assumes you have declared an object of type Application or Workbook with events in a class module.

Private Sub ConnectionApp_SheetPivotTableUpdate(ByVal shOne As Object, Target As PivotTable) 
 
 MsgBox "The SheetPivotTable connection has been updated." 
 
End Sub

참고 항목

개념

Workbook Object Members

Workbook Object