Syntax

expression.SuggestMainOnly

expression A variable that represents a SpellingOptions object.

Example

In this example, Microsoft Excel checks the spell checking options for suggesting words only from the main dictionary and reports the status to the user.

Visual Basic for Applications
Sub UsingMainDictionary() ' Check the setting of suggesting words only from the main dictionary. If Application.SpellingOptions.SuggestMainOnly = True Then MsgBox "Spell checking option suggestions will only come from the main dictionary." Else MsgBox "Spell checking option suggestions are not limited to the main dictionary." End If End Sub
suggest suggest main only suggestmain suggestmainonly suggestmainonly property

See also: