SuggestFromMainDictionaryOnly Property

Microsoft Word Visual Basic

SuggestFromMainDictionaryOnly Property

       

True if Microsoft Word draws spelling suggestions from the main dictionary only. False if it draws spelling suggestions from the main dictionary and any custom dictionaries that have been added. Read/write Boolean.

expression.SuggestFromMainDictionaryOnly

expression   Required. An expression that returns an Options object.

Example

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

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).

temp = Options.SuggestFromMainDictionaryOnly