Share via


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

Concepts

Style Object

Style Object Members