Style.LanguageID property (Word)

Returns or sets a WdLanguageID constant that represents the language for the specified range. Read/write.

Syntax

expression. LanguageID

expression An expression that represents a 'Style' object.

Remarks

Some of the WdLanguageID constants 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 redefines the Title style to use the Spanish proofing tools. The new style description is then displayed in a message box.

ActiveDocument.Styles("Title").LanguageID = wdSpanish 
MsgBox ActiveDocument.Styles("Title").Description

See also

Style 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.