Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

Application.EnableEvents Property

Office 2007
True if events are enabled for the specified object. Read/write Boolean.

Syntax

expression.EnableEvents

expression   A variable that represents an Application object.

Example

This example disables events before a file is saved so that the BeforeSave event doesn’t occur.

Visual Basic for Applications
Application.EnableEvents = False
ActiveWorkbook.Save
Application.EnableEvents = True



Community Additions

ADD
Show:
© 2015 Microsoft