Application.CustomFieldPropertiesEx method (Project)

Sets attributes associated with a custom field.

Syntax

expression. CustomFieldPropertiesEx( _FieldID_, _Attribute_, _SummaryCalc_, _GraphicalIndicators_, _Required_, _AutomaticallyRolldownToAssn_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
FieldID Required Long The custom field. Can be one of the PjCustomField constants.
Attribute Optional Long The attribute to associate with the field specified with FieldID. Can be one of the following PjCustomFieldAttribute constants: pjFieldAttributeNone, pjFieldAttributeFormula, or pjFieldAttributeValueList.
SummaryCalc Optional Long The calculation to be performed on the custom field for summary rows and grouping summary rows. Can be one of the PjSummaryCalc constants.
GraphicalIndicators Optional Boolean True if graphical indicators display instead of data for the custom field.
Required Optional Boolean True if the custom field is required.
AutomaticallyRolldownToAssn Optional Boolean True if the custom field automatically rolls down to assignments.

Return value

Boolean

Remarks

Changing the value of Attribute for a field only enables or disables the attribute. It does not remove any associated data.

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.