Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Recognizing Ctl or shift key in VBA
Does anyone know a way of recognizing whether the shift key or control key
are pressed from inside VBA. I want a userform button to behave differently if one of these keys are pressed. |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Recognizing Ctl or shift key in VBA
Look up in help "KeyDown" and Keycode Constants. It's tricky to explain
here, but the help should be "helpful". "Rhythm" wrote: Does anyone know a way of recognizing whether the shift key or control key are pressed from inside VBA. I want a userform button to behave differently if one of these keys are pressed. |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
Recognizing Ctl or shift key in VBA
http://www.cpearson.com/excel/KeyTest.aspx
-- HTH... Jim Thomlinson "Rhythm" wrote: Does anyone know a way of recognizing whether the shift key or control key are pressed from inside VBA. I want a userform button to behave differently if one of these keys are pressed. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Recognizing data | Excel Worksheet Functions | |||
Recognizing *.xls files | Excel Discussion (Misc queries) | |||
recognizing names | Excel Programming | |||
Recognizing #N/A | Excel Worksheet Functions | |||
Not recognizing a Const | Excel Programming |