Table of contents
TOC
Inhaltsverzeichnis reduzieren
Inhaltsverzeichnis erweitern

Keycode ConstantsKeycode Constants

office 365 dev account|Zuletzt aktualisiert: 06.03.2018
|
2 Mitarbeiter

Die folgenden Konstanten können an einer beliebigen Stelle in Ihrem Code anstelle der tatsächlichen Werte verwendet werden:The following constants can be used anywhere in your code in place of the actual values:

KonstanteConstantWertValueBeschreibungDescription
vbKeyLButtonvbKeyLButton0 x 10x1Linke MaustasteLeft mouse button
vbKeyRButtonvbKeyRButton0 x 20x2Rechte MaustasteRight mouse button
vbKeyCancelvbKeyCancel0 x 30x3ABBRECHEN-TASTECANCEL key
vbKeyMButtonvbKeyMButton0 x 40x4Mittlere MaustasteMiddle mouse button
vbKeyBackvbKeyBack0 x 80x8RÜCKTASTEBACKSPACE key
vbKeyTabvbKeyTab0 x 90x9TAB-TASTETAB key
vbKeyClearvbKeyClear0xC0xCLÖSCHEN-TASTECLEAR key
vbKeyReturnvbKeyReturn0xD0xDEINGABETASTEENTER key
vbKeyShiftvbKeyShift0 x 100x10UMSCHALTTASTESHIFT key
vbKeyControlvbKeyControl0x110x11STRG-TASTECTRL key
vbKeyMenuvbKeyMenu0 x 120x12MENÜTASTEMENU key
vbKeyPausevbKeyPause0 x 130x13PAUSE-TASTEPAUSE key
vbKeyCapitalvbKeyCapital0 x 140x14FESTSTELLTASTECAPS LOCK key
vbKeyEscapevbKeyEscape0x1B0x1BESC-TASTEESC key
vbKeySpacevbKeySpace0 x 200x20LEERTASTESPACEBAR key
vbKeyPageUpvbKeyPageUp0 x 210x21BILD-AUF-TASTEPAGE UP key
vbKeyPageDownvbKeyPageDown0 x 220x22BILD-AB-TASTEPAGE DOWN key
vbKeyEndvbKeyEnd0 x 230x23ENDE-TASTEEND key
vbKeyHomevbKeyHome0 x 240x24POS1-TASTEHOME key
vbKeyLeftvbKeyLeft0x250x25NACH-LINKS-TASTELEFT ARROW key
vbKeyUpvbKeyUp0 x 260x26NACH-OBEN-TASTEUP ARROW key
vbKeyRightvbKeyRight0 x 270x27NACH-RECHTS-TASTERIGHT ARROW key
vbKeyDownvbKeyDown0 x 280x28NACH-UNTEN-TASTEDOWN ARROW key
vbKeySelectvbKeySelect0 x 290x29AUSWÄHLEN-TASTESELECT key
vbKeyPrintvbKeyPrint0x2A0x2ADRUCK-TASTEPRINT SCREEN key
vbKeyExecutevbKeyExecute0x2b0x2BAUSFÜHREN-TASTEEXECUTE key
vbKeySnapshotvbKeySnapshot0x2C0x2CMOMENTAUFNAHMETASTESNAPSHOT key
vbKeyInsertvbKeyInsert0x2D0x2DEINFG-TASTEINSERT key
vbKeyDeletevbKeyDelete0x2E0x2EENTF-TASTEDELETE key
vbKeyHelpvbKeyHelp0x2F0x2FHilfetasteHELP key
vbKeyNumlockvbKeyNumlock0x900x90NUM-TASTENUM LOCK key

Die Taste A bis Z stimmen mit den ASCII-Entsprechungen A – z überein:The A key through the Z key are the same as the ASCII equivalents A - Z:

KonstanteConstantWertValueBeschreibungDescription
vbKeyAvbKeyA6565Taste AA key
vbKeyBvbKeyB6666Taste BB key
vbKeyCvbKeyC6767Taste CC key
vbKeyDvbKeyD6868Taste DD key
vbKeyEvbKeyE6969Taste EE key
vbKeyFvbKeyF7070Taste FF key
vbKeyGvbKeyG7171Taste GG key
vbKeyHvbKeyH7272Taste HH key
vbKeyIvbKeyI7373Taste II key
vbKeyJvbKeyJ7474Taste JJ key
vbKeyKvbKeyK7575Taste KK key
vbKeyLvbKeyL7676Taste LL key
vbKeyMvbKeyM7777Taste MM key
vbKeyNvbKeyN7878Taste NN key
vbKeyOvbKeyO7979Taste OO key
vbKeyPvbKeyP8080Taste PP key
vbKeyQvbKeyQ8181Taste QQ key
vbKeyRvbKeyR8282Taste RR key
vbKeySvbKeyS8383Taste SS key
vbKeyTvbKeyT8484Taste TT key
vbKeyUvbKeyU8585Taste UU key
vbKeyVvbKeyV8686Taste VV key
vbKeyWvbKeyW8787Taste WW key
vbKeyXvbKeyX8888Taste XX key
vbKeyYvbKeyY8989Taste YY key
vbKeyZvbKeyZ9090Taste ZZ key

0-Taste bis 9 stimmen mit deren ASCII-Entsprechungen 0 – 9:The 0 key through 9 key are the same as their ASCII equivalents 0 - 9:

KonstanteConstantWertValueBeschreibungDescription
vbKey0vbKey04848Taste 00 key
vbKey1vbKey14949Taste 11 key
vbKey2vbKey25050Taste 22 key
vbKey3vbKey35151Taste 33 key
vbKey4vbKey45252Taste 44 key
vbKey5vbKey55353Taste 55 key
vbKey6vbKey65454Taste 66 key
vbKey7vbKey75555Taste 77 key
vbKey8vbKey85656Taste 88 key
vbKey9vbKey95757Taste 99 key

Die folgenden Konstanten stellen Tasten auf dem Ziffernblock dar:The following constants represent keys on the numeric keypad:

KonstanteConstantWertValueBeschreibungDescription
vbKeyNumpad0vbKeyNumpad00 x 600x60Taste 00 key
vbKeyNumpad1vbKeyNumpad10x610x61Taste 11 key
vbKeyNumpad2vbKeyNumpad20x620x62Taste 22 key
vbKeyNumpad3vbKeyNumpad30 x 630x63Taste 33 key
vbKeyNumpad4vbKeyNumpad40x640x64Taste 44 key
vbKeyNumpad5vbKeyNumpad50x650x65Taste 55 key
vbKeyNumpad6vbKeyNumpad60x660x66Taste 66 key
vbKeyNumpad7vbKeyNumpad70 x 670x67Taste 77 key
vbKeyNumpad8vbKeyNumpad80x680x68Taste 88 key
vbKeyNumpad9vbKeyNumpad90x690x69Taste 99 key
vbKeyMultiplyvbKeyMultiply0x6A0x6AMULTIPLIKATION Vorzeichen ( \* ) SchlüsselMULTIPLICATION SIGN ( \* ) key
vbKeyAddvbKeyAdd0x6B0x6BPluszeichen ( + ) SchlüsselPLUS SIGN ( + ) key
vbKeySeparatorvbKeySeparator0x6C0x6CEINGABETASTEENTER key
vbKeySubtractvbKeySubtract0x6D0x6DMinuszeichen ( - ) SchlüsselMINUS SIGN ( - ) key
vbKeyDecimalvbKeyDecimal0x6E0x6EDEZIMALTRENNZEICHEN ( .DECIMAL POINT ( .) Schlüssel) key
vbKeyDividevbKeyDivide0x6F0x6FDIVISION Vorzeichen ( / ) SchlüsselDIVISION SIGN ( / ) key

Die folgenden Konstanten stellen Funktionstasten dar:The following constants represent function keys:

KonstanteConstantWertValueBeschreibungDescription
vbKeyF1vbKeyF10x700x70F1-TasteF1 key
vbKeyF2vbKeyF20x710x71F2-TasteF2 key
vbKeyF3vbKeyF30 x 720x72F3-TasteF3 key
vbKeyF4vbKeyF40x730x73F4-TasteF4 key
vbKeyF5vbKeyF50x740x74F5-TasteF5 key
vbKeyF6vbKeyF60x750x75F6-TasteF6 key
vbKeyF7vbKeyF70x760x76F7-TasteF7 key
vbKeyF8vbKeyF80 x 770x77F8-TasteF8 key
vbKeyF9vbKeyF90 x 780x78F9-TasteF9 key
vbKeyF10vbKeyF100x790x79F10-TasteF10 key
vbKeyF11vbKeyF110x7A0x7AF11-TasteF11 key
vbKeyF12vbKeyF120x7B0x7BF12-TasteF12 key
vbKeyF13vbKeyF130x7C0x7CF13-TasteF13 key
vbKeyF14vbKeyF140x7D0x7DF14-TasteF14 key
vbKeyF15vbKeyF150x7E0x7EF15-TasteF15 key
vbKeyF16vbKeyF160x7F0x7FF16-TasteF16 key
© 2018 Microsoft