Partager via


IWorkbookEvents.BeforeClose Method

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

Syntax

'Declaration
Sub BeforeClose ( _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As IWorkbookEvents
Dim Cancel As Boolean

instance.BeforeClose(Cancel)
void BeforeClose(
    out bool Cancel
)

Parameters

See Also

Reference

IWorkbookEvents Interface

IWorkbookEvents Members

Microsoft.Office.Interop.Excel Namespace