Application.ReassignSelectedAssns method (Project)
Reassigns the selected assignments in the Team Planner view.
expression An expression that returns an Application object.
|ResourceUniqueID||Required||Long||Identification number of the resource for the new assignment, or -65535 for unassigned.|
The ReassignSelectedAssns method works only with the Team Planner view.
If you use the Team Planner to drag an assignment from one resource to another while you are recording a macro, the macro does not show the results of the drag action. To record a macro that shows the ReassignSelectedAssns method, you must right-click an assignment in the Team Planner, and then click Reassign To in the option menu.
The following line of code reassigns the assignments selected in the Team Planner to the resource with ID = 2.
The following line of code changes the assignments to unassigned.
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.