DisplayAlerts property (Excel Graph)

True if Graph displays certain alerts and messages while a macro is running. Read/write Boolean.

Syntax

expression.DisplayAlerts

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

Remarks

The default value is True. Set this property to False if you don't want to be disturbed by prompts and alert messages while a macro is running; any time a message requires a response, Graph chooses the default response.

If you set this property to False, Graph doesn't automatically set it back to True when your macro stops running. Write your macro so that it always sets this property back to True when it stops running.

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.