Recognizing Ctl or shift key in VBA

  • Thread starter Thread starter Rhythm
  • Start date Start date
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.
 
Look up in help "KeyDown" and Keycode Constants. It's tricky to explain
here, but the help should be "helpful".
 
Back
Top