Application.SetShowTaskWarnings method (Project)

Sets the global Show Warnings option for tasks.

Syntax

expression. SetShowTaskWarnings( _Set_ )

expression An expression that returns an Application object.

Parameters

Name Required/Optional Data type Description
Set Optional Variant If True, turns on the Show Warnings option. The default value is False.

Return value

Boolean

Remarks

The Show Warnings option is in the drop-down Inspect Task menu on the TASK ribbon. You can override the global setting for a specific task by selecting or clearing the Show warning and suggestion indicators for this task check box in the Task Inspector pane.

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.