Compartilhar via


WorkbookEvents_PivotTableOpenConnectionEventHandler Delegate

A Delegate type used to add an event handler for the PivotTableOpenConnection event. The PivotTableOpenConnection event occurs after a PivotTable report opens 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_PivotTableOpenConnectionEventHandler ( _
    Target As PivotTable _
)
'Usage
Dim instance As New WorkbookEvents_PivotTableOpenConnectionEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void WorkbookEvents_PivotTableOpenConnectionEventHandler(
    PivotTable Target
)

Parameters

See Also

Reference

Microsoft.Office.Interop.Excel Namespace