Application.DisplayAlerts property (Project)
True if Project displays error messages when a macro runs. Read/write Boolean.
expression A variable that represents an Application object.
The DisplayAlerts property is reset to True upon completion of a macro that sets it to False.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.