AppEvents_WorkbookPivotTableCloseConnectionEventHandler Delegate
A Delegate type used to add an event handler for the WorkbookPivotTableCloseConnection event. The WorkbookPivotTableCloseConnection event occurs after a PivotTable report connection has been closed.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_WorkbookPivotTableCloseConnectionEventHandler ( _
Wb As Workbook, _
Target As PivotTable _
)
'Usage
Dim instance As New AppEvents_WorkbookPivotTableCloseConnectionEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookPivotTableCloseConnectionEventHandler(
Workbook Wb,
PivotTable Target
)
Parameters
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookRequired. The selected workbook.
Target
Type: Microsoft.Office.Interop.Excel.PivotTableRequired. The selected PivotTable report.