Application.OrganizerDeleteItem method (Project)
Deletes an item from the Organizer.
Syntax
expression. OrganizerDeleteItem
( _Type_
, _FileName_
, _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 delete. Can be one of the PjOrganizer constants. The default value is pjViews. |
FileName | Required | String | The name of the file containing the item to delete. |
Name | Required | String | The name of the item to delete. |
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.