Language.ID Property

Word Developer Reference

Returns a number that identifies the specified language. Read-only WdLanguageID.

Syntax

expression.ID

expression   Required. A variable that represents a Language object.

Example

This example formats the selection with the Icelandic proofing tools language.

Visual Basic for Applications
  Selection.LanguageID = Languages("Icelandic").ID

See Also