Index.IndexLanguage Property (Word)

Returns or sets a WdLanguageID constant that represents the sorting language to use for the specified index. Read/write .

Syntax

expression IndexLanguage

expression Required. An expression that returns an Index 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 sets the sorting language of the first index in the active document to New Zealand English.

ActiveDocument.Indexes(1).IndexLanguage = _ 
 wdEnglishNewZealand

See Also

Concepts

Index Object

Index Object Members