Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WdKey Enumeration 

Specifies a keyboard character. Although uppercase and lowercase characters are designated by using different values in a character encoding map, they share a single constant in this enumeration.

Namespace: Microsoft.Office.Interop.Word
Assembly: Microsoft.Office.Interop.Word (in microsoft.office.interop.word.dll)

'Usage
Dim wdKey1 As WdKey = WdKey.wdKey0

public enum WdKey
public enum WdKey
public enum WdKey

Member nameDescription
wdKey0The 0 key.
wdKey1The 1 key.
wdKey2The 2 key.
wdKey3The 3 key.
wdKey4The 4 key.
wdKey5The 5 key.
wdKey6The 6 key.
wdKey7The 7 key.
wdKey8The 8 key.
wdKey9The 9 key.
wdKeyAThe A key.
wdKeyAltThe ALT key.
wdKeyBThe B key.
wdKeyBackSingleQuoteThe ` key.
wdKeyBackSlashThe \ key.
wdKeyBackspaceThe BACKSPACE key.
wdKeyCThe C key.
wdKeyCloseSquareBraceThe ] key.
wdKeyCommaThe , key.
wdKeyCommandThe Windows command key or Macintosh COMMAND key.
wdKeyControlThe CTRL key.
wdKeyDThe D key.
wdKeyDeleteThe DELETE key.
wdKeyEThe E key.
wdKeyEndThe END key.
wdKeyEqualsThe = key.
wdKeyEscThe ESC key.
wdKeyFThe F key.
wdKeyF1The F1 key.
wdKeyF10The F10 key.
wdKeyF11The F11 key.
wdKeyF12The F12 key.
wdKeyF13The F13 key.
wdKeyF14The F14 key.
wdKeyF15The F15 key.
wdKeyF16The F16 key.
wdKeyF2The F2 key.
wdKeyF3The F3 key.
wdKeyF4The F4 key.
wdKeyF5The F5 key.
wdKeyF6The F6 key.
wdKeyF7The F7 key.
wdKeyF8The F8 key.
wdKeyF9The F9 key.
wdKeyGThe G key.
wdKeyHThe H key.
wdKeyHomeThe HOME key.
wdKeyHyphenThe - key.
wdKeyIThe I key.
wdKeyInsertThe INSERT key.
wdKeyJThe J key.
wdKeyKThe K key.
wdKeyLThe L key.
wdKeyMThe M key.
wdKeyNThe N key.
wdKeyNumeric0The 0 key.
wdKeyNumeric1The 1 key.
wdKeyNumeric2The 2 key.
wdKeyNumeric3The 3 key.
wdKeyNumeric4The 4 key.
wdKeyNumeric5The 5 key.
wdKeyNumeric5Special.
wdKeyNumeric6The 6 key.
wdKeyNumeric7The 7 key.
wdKeyNumeric8The 8 key.
wdKeyNumeric9The 9 key.
wdKeyNumericAddThe + key on the numeric keypad.
wdKeyNumericDecimalThe . key on the numeric keypad.
wdKeyNumericDivideThe / key on the numeric keypad.
wdKeyNumericMultiplyThe * key on the numeric keypad.
wdKeyNumericSubtractThe - key on the numeric keypad.
wdKeyOThe O key.
wdKeyOpenSquareBraceThe [ key.
wdKeyOptionThe mouse option key or Macintosh OPTION key.
wdKeyPThe P key.
wdKeyPageDownThe PAGE DOWN key.
wdKeyPageUpThe PAGE UP key.
wdKeyPauseThe PAUSE key.
wdKeyPeriodThe . key.
wdKeyQThe Q key.
wdKeyRThe R key.
wdKeyReturnThe ENTER or RETURN key.
wdKeySThe S key.
wdKeyScrollLockThe SCROLL LOCK key.
wdKeySemiColonThe ; key.
wdKeyShiftThe SHIFT key.
wdKeySingleQuoteThe ' key.
wdKeySlashThe / key.
wdKeySpacebarThe SPACEBAR key.
wdKeyTThe T key.
wdKeyTabThe TAB key.
wdKeyUThe U key.
wdKeyVThe V key.
wdKeyWThe W key.
wdKeyXThe X key.
wdKeyYThe Y key.
wdKeyZThe Z key.
wdNoKeyNo key.

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

Community Additions

Show:
© 2014 Microsoft