IndexLanguage Property Example

This example sets the sorting language of the first index in the active document to New Zealand English.

ActiveDocument.Indexes(1).IndexLanguage = _
    wdEnglishNewZealand