Compartilhar via


AppEvents_Event.WorkbookBeforePrint Event

Occurs before any open workbook is printed.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Event WorkbookBeforePrint As AppEvents_WorkbookBeforePrintEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_WorkbookBeforePrintEventHandler

AddHandler instance.WorkbookBeforePrint, handler
event AppEvents_WorkbookBeforePrintEventHandler WorkbookBeforePrint

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace