WorkbookEvents_PivotTableCloseConnectionEventHandler Delegate
A Delegate type used to add an event handler for the PivotTableCloseConnection event. The PivotTableCloseConnection event occurs after a PivotTable report closes the connection to its data source.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub WorkbookEvents_PivotTableCloseConnectionEventHandler ( _
Target As PivotTable _
)
'Usage
Dim instance As New WorkbookEvents_PivotTableCloseConnectionEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_PivotTableCloseConnectionEventHandler(
PivotTable Target
)
Parameters
Target
Type: Microsoft.Office.Interop.Excel.PivotTableRequired. The selected PivotTable report.