Partager via


Language.SpellingDictionaryType Property (Word)

Returns or sets the proofing tool type. Read/write WdDictionaryType.

Syntax

expression .SpellingDictionaryType

expression Required. A variable that represents 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

See Also

Concepts

Language Object

Language Object Members