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
- Cancel
Type: System.Boolean