Skip to content

Latest commit

 

History

History
47 lines (22 loc) · 1.14 KB

0b37939a-28dd-ef8b-ea5e-fc3768f8979a.md

File metadata and controls

47 lines (22 loc) · 1.14 KB

Workbook.SheetPivotTableUpdate Event (Excel)

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

Syntax

expression . SheetPivotTableUpdate( Sh , Target )

expression An expression that returns a Workbook object.

Parameters

Name Required/Optional Data Type Description
Sh Required Object The selected sheet.
Target Required 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

See also

Concepts

Workbook Object

Other resources

Workbook Object Members