Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
Replans the assignment by decreasing work or increasing duration.
Syntax
expression. Replan( _action_ )
expression An expression that returns a Assignment object.
Parameters
| Name | Required/Optional | Data type | Description |
|---|---|---|---|
| action | Required | PjAssignmentReplanAction | Can be one of the following constants in PjAssignmentReplanAction: pjConstrainToMaxUnitsByDecreasingWork or pjConstrainToMaxUnitsByIncreasingDuration. |
Return value
Nothing
Remarks
For example, if a resource calendar changes so that the resource becomes overallocated, you can replan the overallocated assignments.
Example
In the following example, an overallocated assignment selected in the Team Planner view is changed to increased duration.
ActiveCell.Assignment.Replan(pjConstrainToMaxUnitsByIncreasingDuration)
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.