Share via


AppEvents.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 AppEvents
Dim Wb As Workbook
Dim Cancel As Boolean

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

Parameters

See Also

Reference

AppEvents Interface

AppEvents Members

Microsoft.Office.Interop.Excel Namespace