Application.LevelSelected method (Project)
Levels the selected tasks to resolve resource conflicts or overallocations.
Syntax
expression. LevelSelected
( _ResolveMethod_
)
expression An expression that returns an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
ResolveMethod | Optional | PjLevelSelectedOption | Specifies what to resolve in the leveling process. Can be a PjLevelSelectedOption constant. The default is pjResolveSelectedTasks. |
Return value
Boolean
Remarks
The LevelSelected method corresponds to the Level Selection command in the Level group on the Resource tab. The Level Selection command is enabled when more than one task is selected.
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.