WorkbookEvents_SheetPivotTableChangeSyncEventHandler Delegate
A Delegate type used to add an event handler for the SheetPivotTableChangeSync event. The SheetPivotTableChangeSync event occurs after changes to a PivotTable.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_SheetPivotTableChangeSyncEventHandler ( _
Sh As Object, _
Target As PivotTable _
)
'Usage
Dim instance As New WorkbookEvents_SheetPivotTableChangeSyncEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_SheetPivotTableChangeSyncEventHandler(
Object Sh,
PivotTable Target
)
Parameters
Sh
Type: System.ObjectThe worksheet that contains the PivotTable.
Target
Type: Microsoft.Office.Interop.Excel.PivotTableThe PivotTable that was changed.