Application.OptionsSpelling method (Project)

Sets options for the spelling checker.

Syntax

expression. OptionsSpelling( _TaskName_, _TaskNotes_, _TaskText1_, _TaskText2_, _TaskText3_, _TaskText4_, _TaskText5_, _TaskText6_, _TaskText7_, _TaskText8_, _TaskText9_, _TaskText10_, _ResourceCode_, _ResourceName_, _ResourceNotes_, _ResourceGroup_, _ResourceText1_, _ResourceText2_, _ResourceText3_, _ResourceText4_, _ResourceText5_, _AssignNotes_, _IgnoreUppercase_, _IgnoreNumberWords_, _AlwaysSuggest_, _UseCustomDictionary_ )

expression A variable that represents an Application object.

Parameters

Name Required/Optional Data type Description
TaskName Optional Boolean True if task names are checked.
TaskNotes Optional Boolean True if task notes are checked.
TaskText1 Optional Boolean True if the Text1 field of tasks is checked.
TaskText2 Optional Boolean True if the Text2 field of tasks is checked.
TaskText3 Optional Boolean True if the Text3 field of tasks is checked.
TaskText4 Optional Boolean True if the Text4 field of tasks is checked.
TaskText5 Optional Boolean True if the Text5 field of tasks is checked.
TaskText6 Optional Boolean True if the Text6 field of tasks is checked.
TaskText7 Optional Boolean True if the Text7 field of tasks is checked.
TaskText8 Optional Boolean True if the Text8 field of tasks is checked.
TaskText9 Optional Boolean True if the Text9 field of tasks is checked.
TaskText10 Optional Boolean True if the Text10 field of tasks is checked.
ResourceCode Optional Boolean True if resource codes are checked.
ResourceName Optional Boolean True if resource names are checked.
ResourceNotes Optional Boolean True if resource notes are checked.
ResourceGroup Optional Boolean True if resource groups are checked.
ResourceText1 Optional Boolean True if the Text1 field of resources is checked.
ResourceText2 Optional Boolean True if the Text2 field of resources is checked.
ResourceText3 Optional Boolean True if the Text3 field of resources is checked.
ResourceText4 Optional Boolean True if the Text4 field of resources is checked.
ResourceText5 Optional Boolean True if the Text5 field of resources is checked.
AssignNotes Optional Boolean True if assignment notes are checked.
IgnoreUppercase Optional Boolean True if words consisting entirely of uppercase letters are ignored.
IgnoreNumberWords Optional Boolean True if words that contain numbers are ignored.
AlwaysSuggest Optional Boolean True if Project always suggests alternate spellings to misspelled words.
UseCustomDictionary Optional Boolean True if the custom dictionary is used.

Return value

Boolean

Remarks

If an argument is omitted, the default value is specified by the setting on the Proofing tab of the Project Options dialog box.

Note

The list of fields to check for spelling on the Proofing tab includes fields up to Text30 for task, resource, and assignment custom fields.

Using the OptionsSpelling method without specifying any arguments displays the Project Options dialog box with the General tab selected.

You can also use the SpellCheckField method to change the state of a spell check field.

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.