Application.OrganizerMoveItem method (Project)
Moves an item in the Organizer.
Syntax
expression. OrganizerMoveItem
( _Type_
, _FileName_
, _ToFileName_
, _Name_
, _Task_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Type | Optional | Long | The type of item to move. Can be one of the PjOrganizer constants. The default value is pjViews. |
FileName | Required | String | The name of the file containing the item to move. |
ToFileName | Required | String | The name of the file where the item should be placed. |
Name | Optional | String | The name of the item to move. The default is to move all items specified with Type. |
Task | Optional | Boolean | True if the item applies to tasks. False if the item applies to resources. The default value is True. |
Return value
Boolean
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.