Compartilhar via


AppEvents_WorkbookRowsetCompleteEventHandler Delegate

A Delegate type used to add an event handler for the WorkbookRowsetComplete event. The WorkbookRowsetComplete event occurs when the user either drills through the recordset or invokes the rowset action on an OLAP PivotTable.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub AppEvents_WorkbookRowsetCompleteEventHandler ( _
    Wb As Workbook, _
    Description As String, _
    Sheet As String, _
    Success As Boolean _
)
'Usage
Dim instance As New AppEvents_WorkbookRowsetCompleteEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void AppEvents_WorkbookRowsetCompleteEventHandler(
    Workbook Wb,
    string Description,
    string Sheet,
    bool Success
)

Parameters

  • Description
    Type: System.String

    A brief description of the event.

  • Sheet
    Type: System.String

    The worksheet on which the recordset is created.

  • Success
    Type: System.Boolean

    Contains a Boolean value to indicate success or failure.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace