SpellingSuggestions.SpellingErrorType Property (Word)

Returns the spelling error type. Read-only WdSpellingErrorType.

Syntax

expression .SpellingErrorType

expression Required. A variable that represents a SpellingSuggestions collection.

Remarks

Use the GetSpellingSuggestions method to return a collection of words suggested as spelling replacements. If a word is misspelled, the CheckSpelling method returns True.

Example

If the first word in the active document isn't in the dictionary, this example displays "Unknown word" in the status bar.

Set suggs = ActiveDocument.Content.GetSpellingSuggestions 
If suggs.SpellingErrorType = wdSpellingNotInDictionary Then 
 StatusBar = "Unknown word" 
End If

See Also

Concepts

SpellingSuggestions Collection Object

SpellingSuggestions Object Members