AppEvents_WorkbookBeforePrintEventHandler AppEvents_WorkbookBeforePrintEventHandler AppEvents_WorkbookBeforePrintEventHandler Delegate

Definition

A Delegate type used to add an event handler for the WorkbookBeforePrint event. The WorkbookBeforePrint event occurs before any open workbook is printed.

public delegate void AppEvents_WorkbookBeforePrintEventHandler(Workbook ^ Wb, [Runtime::InteropServices::Out] bool % Cancel);
[System.Runtime.InteropServices.ComVisible(false)]
public delegate void AppEvents_WorkbookBeforePrintEventHandler(Workbook Wb, out bool Cancel);
Public Delegate Sub AppEvents_WorkbookBeforePrintEventHandler(Wb As Workbook, ByRef Cancel As Boolean)
Parameters
Wb

The workbook.

Cancel

False when the event occurs. If the event procedure sets this argument to True, the workbook isn't printed when the procedure is finished.

Inheritance
AppEvents_WorkbookBeforePrintEventHandlerAppEvents_WorkbookBeforePrintEventHandlerAppEvents_WorkbookBeforePrintEventHandler
Attributes

Applies to