Selection.LanguageIDOther property (Word)

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

Syntax

expression. LanguageIDOther

expression Required. A variable that represents a Selection object.

Remarks

This is the recommended way to return or set the language of Latin text in a document created in a right-to-left language version of Microsoft Word.

Example

This example sets the language of the selection to French.

Selection.LanguageIDOther = wdFrench

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.