Share via


IAppEvents.WorkbookBeforePrint Method

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

Syntax

'Declaration
Sub WorkbookBeforePrint ( _
    Wb As Workbook, _
    <OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As IAppEvents
Dim Wb As Workbook
Dim Cancel As Boolean

instance.WorkbookBeforePrint(Wb, Cancel)
void WorkbookBeforePrint(
    Workbook Wb,
    out bool Cancel
)

Parameters

See Also

Reference

IAppEvents Interface

IAppEvents Members

Microsoft.Office.Interop.Excel Namespace