DisplayAlerts Property

True if certain alerts and messages are to be displayed while code is running. The default value is True. Set this property to False if you don't want to be disturbed by prompts and alert messages; any time a message requires a response, the default response is chosen.

If you set this property to False, it is not automatically set back to True, and must be set to True for messages and alerts to appear. Read/write Boolean.

expression.DisplayAlerts

*expression   * Required. An expression that returns one of the objects in the Applies To list.

Applies to | DataSourceControl Object | PivotTable Object

See Also | DisplayAlert Property