SpellingDictionaryType Property

Microsoft Word Visual Basic

WdDictionaryType can be one of these WdDictionaryType constants.
wdGrammar
wdHangulHanjaConversion
wdHangulHanjaConversionCustom
wdHyphenation
wdSpelling
wdSpellingComplete
wdSpellingCustom
wdSpellingLegal
wdSpellingMedical
wdThesaurus

expression.SpellingDictionaryType

expression    Required. An expression that returns a Language object.

Remarks

You can use this property to change the active spelling dictionary to one of the available add-on dictionaries that work with Word. For example, there are legal, medical, and complete spelling dictionaries you can use instead of the standard dictionary.

Some of the constants listed above may not be available to you, depending on the language support (U.S. English, for example) that you’ve selected or installed.

Example

This example returns the type of spelling dictionary used for U.S. English.

myType = Languages(wdEnglishUS).SpellingDictionaryType
		

This example makes the legal dictionary the active spelling dictionary.

Languages(wdEnglishUS).SpellingDictionaryType = wdSpellingLegal