Application.Alerts method (Project)

Determines whether alerts appear when a macro runs.

Syntax

expression. Alerts( _Show_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
Show Optional Boolean True if Project displays error messages when a macro runs. The default value is True.

Return value

Boolean

Remarks

The Alerts method applies only to the macro that contains the method.

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.