TextBox.KeyboardLanguage property (Access)

Syntax

expression.KeyboardLanguage

expression A variable that represents a TextBox object.

Remarks

Valid values for this property are 0 (zero), which corresponds to the default system language, or plid + 2, where plid is the primary language ID of a language installed on the current system. For example, the primary language ID of English is 9, so the corresponding KeyboardLanguage setting is 11.

For a list of languages and their primary language IDs, see Language Identifier Constants and Strings. An exception to this list is Traditional Chinese, which is represented by the value 200.

Setting this property to a language that is not installed may either have no effect or cause an error.

See also

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.