Language.SpellingDictionaryType property (Word)
Returns or sets the proofing tool type. Read/write WdDictionaryType.
expression Required. A variable that represents a 'Language' object.
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.
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
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.