Recognizing Ctl or shift key in VBA

R

Rhythm

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.
 
B

BobT

Look up in help "KeyDown" and Keycode Constants. It's tricky to explain
here, but the help should be "helpful".
 
Top