Application.CustomFieldRename method (Project)

Defines a friendly name for a custom field.

Syntax

expression. CustomFieldRename( _FieldID_, _NewName_, _Phonetic_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
FieldID Required Long The field to be renamed. Can be one of the PjCustomField constants.
NewName Optional String The friendly name for the custom field. A value of Null removes the friendly name.
Phonetic Optional String The phonetic equivalent of the friendly name. The Phonetic argument is ignored unless the Japanese version of Project is used.

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.