Tag Archives: sendkey controls

VB 6.0 Sendkey Controls

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (10 votes, average: 3.90 out of 5)
 

The following key codes work for Visual Basic 6.0 and older for using Sendkeys


^ = Control

{enter} = Enter/Return Key

% = Alt

{Del} = Delete Key

{ESCAPE} = Escape Key

{TAB} = Tab

+ = Shift Key

{BACKSPACE} = Backspace

{BREAK} = Break

{CAPSLOCK} = Caps Lock

{CLEAR} = Clear

{DELETE} = Delete

{DOWN} = Down Arrow

{LEFT} = Left Arrow

{RIGHT} = Right Arrow

{UP} = Up Arrow

{NUMLOCK} = Num Lock

{PGDN} = Page Down

{PGUP} = Page Up

{SCROLLLOCK} = Scroll Lock

{F1} = F1 .......Use {F2} {F3} and so on for others...

{HOME} = Home

{INSERT} = Insert

Revised: 2015