Application.CustomFieldIndicatorDelete method (Project)

Removes a test condition from a custom field graphical indicator criteria list.


expression. CustomFieldIndicatorDelete( _FieldID_, _Index_, _CriteriaList_ )

expression A variable that represents an Application object.


Name Required/Optional Data type Description
FieldID Required Long The custom field. Can be one of the PjCustomField constants.
Index Required Integer The position of the test condition to delete from the list specified by CriteriaList.
CriteriaList Optional Long The criteria list containing the test condition to be deleted. Can be one of the following PjCriteriaList constants: pjCriteriaNonSummary, pjCriteriaSummary, or pjCriteriaProjectSummary. The default value is pjCriteriaNonSummary.

Return value



The CustomFieldIndicatorDelete method returns a trappable error (error code 1004) if the list specified by CriteriaList is read-only because it has been set to inherit values from another list.

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.