Application.OrganizerRenameItem method (Project)
Renames an item in the Organizer.
Syntax
expression. OrganizerRenameItem
( _Type_
, _FileName_
, _Name_
, _NewName_
, _Task_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Type | Optional | Long | The type of item to rename. Can be one of the PjOrganizer constants. The default value is pjViews. |
FileName | Required | String | The name of the file containing the item to rename. |
Name | Required | String | The name of the item to rename. |
NewName | Required | String | The new name for the item specified by Name. |
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.