Application WorkbookBeforePrint Event

Purpose

Occurs before any open workbook is printed.

Syntax

WorkbookBeforePrint(Wb, Cancel)

Required 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.