SuggestFromMainDictionaryOnly Property

Microsoft Word Visual Basic

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