Application.Alerts Method

Project Developer Reference

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 Microsoft Office Project 2007 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.

See Also