Selection.LanguageID property (Word)

Returns or sets the language for the specified object. Read/write .

Syntax

expression. LanguageID

expression Required. A variable that represents a Selection object.

Remarks

For a custom dictionary, you must first set the LanguageSpecific property to True before specifying the LanguageID property. Custom dictionaries that are language-specific check only text that is formatted for that language.

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

See also

Selection Object

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.