WorkbookEvents.BeforePrint Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Sub BeforePrint ( _
<OutAttribute> ByRef Cancel As Boolean _
)
'Usage
Dim instance As WorkbookEvents
Dim Cancel As Boolean
instance.BeforePrint(Cancel)
void BeforePrint(
out bool Cancel
)
Parameters
- Cancel
Type: System.Boolean