AppEvents_WorkbookPivotTableOpenConnectionEventHandler Delegate 

A Delegate type used to add an event handler for the WorkbookPivotTableOpenConnection event. The WorkbookPivotTableOpenConnection event occurs after a PivotTable report connection has been opened.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Sub Sub1(Wb As Workbook, _
    Target As PivotTable)
End Sub
Dim appEvents_WorkbookPivotTableOpenConnectionEventHandler1 As New AppEvents_WorkbookPivotTableOpenConnectionEventHandler(AddressOf Sub1)

Syntax

Public Delegate Sub AppEvents_WorkbookPivotTableOpenConnectionEventHandler( _
    <InAttribute()> ByVal Wb As Workbook, _
    <InAttribute()> ByVal Target As PivotTable _
)
public delegate void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
    [In] Workbook Wb, 
    [In] PivotTable Target
);
public delegate Void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
    Workbook^ Wb, 
    PivotTable^ Target
);
public delegate void AppEvents_WorkbookPivotTableOpenConnectionEventHandler(
    /*in*/Workbook Wb, 
    /*in*/PivotTable Target
);
In JScript, you can use the delegates in the .NET Framework, but you cannot define your own.

Parameters

  • Wb
    Required. The selected workbook.
  • Target
    Required. The selected PivotTable report.

Platforms

Development Platforms

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

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace