Application.LevelingClear method (Project)

Removes the effects of leveling.

Syntax

expression. LevelingClear( _All_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
All Optional Boolean True if delays are removed from all tasks. False if delays are removed from selected tasks only.

Return value

Boolean

Remarks

Using the LevelingClear method without specifying any arguments displays the Clear Leveling dialog box.

The LevelingClear method has no effect if a task has a priority of 1000 (don't level).

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.