Application.OptionsSpelling Method

Project Developer Reference

Sets options for the spelling checker in Microsoft Office Project 2007.

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 Microsoft Office Project 2007 will always suggest alternate spellings to misspelled words.
UseCustomDictionary Optional Boolean True if the custom dictionary is used.

Return Value
Boolean

Remarks

If an argument is omitted, its default value is specified by the current setting on the Spelling tab of the Options dialog box.

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

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

See Also