Application.CustomFieldValueListGetItem method (Project)

Returns the value, description, or phonetic spelling of an item in the value list for a custom field.

Syntax

expression. CustomFieldValueListGetItem( _FieldID_, _Item_, _Index_ )

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.
Item Required Long The information to return. Can be one of the following PjValueListItem constants: pjValueListValue, pjValueListDescription, or pjValueListPhonetics. The default value is pjValueListValue.
Index Required Long The row number of the value list item for which to return the information specified with Item.

Return value

String

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.