Partager via


AppEvents_Event.NewWorkbook Event

Occurs when a new workbook is created.

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

Syntax

'Declaration
Event NewWorkbook As AppEvents_NewWorkbookEventHandler
'Usage
Dim instance As AppEvents_Event
Dim handler As AppEvents_NewWorkbookEventHandler

AddHandler instance.NewWorkbook, handler
event AppEvents_NewWorkbookEventHandler NewWorkbook

See Also

Reference

AppEvents_Event Interface

AppEvents_Event Members

Microsoft.Office.Interop.Excel Namespace