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.