Application.SpellCheckField method (Project)
Checks the spelling of text custom fields.
Syntax
expression. SpellCheckField
( _FieldName_
, _EnableSpellCheck_
)
expression A variable that represents an Application object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
FieldName | Optional | PjSpellingField | One of the PjSpellingField enumeration values. |
EnableSpellCheck | Optional | Variant | True if spell check is enabled; otherwise, False. |
Return value
Boolean
Remarks
To check spelling in the entire project, including text custom fields, use the SpellingCheck method. The SpellingCheck method is equivalent to the Spelling command on the Project tab of the Ribbon.
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.