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
Wb
Type: Microsoft.Office.Interop.Excel.WorkbookThe workbook for which the event occurs.
Description
Type: System.StringA brief description of the event.
Sheet
Type: System.StringThe worksheet on which the recordset is created.
Success
Type: System.BooleanContains a Boolean value to indicate success or failure.