This documentation is archived and is not being maintained.

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

Sub Sub1(Target As PivotTable)
End Sub
Dim workbookEvents_PivotTableCloseConnectionEventHandler1 As New WorkbookEvents_PivotTableCloseConnectionEventHandler(AddressOf Sub1)

public delegate void WorkbookEvents_PivotTableCloseConnectionEventHandler(
	[In] PivotTable Target
public delegate void WorkbookEvents_PivotTableCloseConnectionEventHandler(
	/*in*/PivotTable Target
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.



Required. The selected PivotTable report.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms