Options.SuggestFromMainDictionaryOnly Property

Word Developer Reference

True if Microsoft Word draws spelling suggestions from the main dictionary only. Read/write Boolean.

Syntax

expression.SuggestFromMainDictionaryOnly

expression   An expression that returns an Options object.

Remarks

This property returns False if it draws spelling suggestions from the main dictionary and any custom dictionaries that have been added.

Example

This example sets Word to suggest words from the main dictionary only, and then it checks spelling in the active document.

Visual Basic for Applications
  Options.SuggestFromMainDictionaryOnly = True
ActiveDocument.CheckSpelling

This example returns the current status of the Suggest from main dictionary only option on the Spelling & Grammar tab in the Options dialog box (Tools menu).

Visual Basic for Applications
  temp = Options.SuggestFromMainDictionaryOnly

See Also