RefreshEvents_BeforeRefreshEventHandler Delegate

A Delegate type used to add an event handler for the BeforeRefresh event. The BeforeRefresh event occurs before any refreshes of the query table.

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

Syntax

'Declaration
<ComVisibleAttribute(False)> _
Public Delegate Sub RefreshEvents_BeforeRefreshEventHandler ( _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As New RefreshEvents_BeforeRefreshEventHandler(AddressOf HandlerMethod)
[ComVisibleAttribute(false)]
public delegate void RefreshEvents_BeforeRefreshEventHandler(
    out bool Cancel
)

Parameters

  • Cancel
    Type: System.Boolean

    False when the event occurs. If the event procedure sets this argument to True, the refresh doesn't occur when the procedure is finished.

See Also

Reference

Microsoft.Office.Interop.Excel Namespace