Application.SheetPivotTableUpdate Event (Excel)

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


expression. SheetPivotTableUpdate( _Sh_ , _Target_ )

expression An expression that returns a Application object.


Name Required/Optional Data type Description
Sh Required Object The selected sheet.
Target Required PivotTable The selected PivotTable report.


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

Application Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.