TAPS_MikeDion
Well-known Member
- Joined
- Aug 14, 2009
- Messages
- 622
- Office Version
- 2011
- Platform
- MacOS
Hi all,
Does anyone know if VB key capture works with Excel for Mac 2011?
I have tried several different methods to capture the ESC key being pressed and I can't seem to get it to do anything.
The last simple thing I tried was:
Application.OnKey "{ESC}", "EscapeKeyPressed"
inside the UserForm_Initialize sub,
and then just did a short:
Sub EscapeKeyPressed()
Msgbox "Escape key pressed"
End Sub
to see if that would work (unless I'm doing that wrong) and nothing happens.
Thanks.
Does anyone know if VB key capture works with Excel for Mac 2011?
I have tried several different methods to capture the ESC key being pressed and I can't seem to get it to do anything.
The last simple thing I tried was:
Application.OnKey "{ESC}", "EscapeKeyPressed"
inside the UserForm_Initialize sub,
and then just did a short:
Sub EscapeKeyPressed()
Msgbox "Escape key pressed"
End Sub
to see if that would work (unless I'm doing that wrong) and nothing happens.
Thanks.