Application.ToggleAssignments method (Project)
Shows or hides assignments for one or more selected task or resources in usage views.
Syntax
expression. ToggleAssignments
expression A variable that represents an Application object.
Return value
Boolean
Remarks
The ToggleAssignments method has the same effect as clicking the box next to a task or resource, to expand or hide assignments.
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.