IMEStatus Constants

This page is specific to the Visual Basic for Applications (VBA) Language Reference for Office 2010.

The following constants can be used anywhere in your code in place of the actual values.

The constants for the Japanese locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME (default)

vbIMEModeOn

1

IME on

vbIMEModeOff

2

IME off

vbIMEModeDisable

3

IME disabled

vbIMEModeHiragana

4

Full-width Hiragana mode

vbIMEModeKatakana

5

Full-width Katakana mode

vbIMEModeKatakanaHalf

6

Half-width Katakana mode

vbIMEModeAlphaFull

7

Full-width Alphanumeric mode

vbIMEModeAlpha

8

Half-width Alphanumeric mode

The constant values for the Korean locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME(default)

vbIMEModeAlphaFull

7

Full-width Alphanumeric mode

vbIMEModeAlpha

8

Half-width Alphanumeric mode

vbIMEModeHangulFull

9

Full-width Hangul mode

vbIMEModeHangul

10

Half-width Hangul mode

The constant values for the Chinese locale are as follows:

Constant

Value

Description

vbIMEModeNoControl

0

Don't control IME (default)

vbIMEModeOn

1

IME on

vbIMEModeOff

2

IME off