Hi, I would like to know how to handle keyboard events in Excel VBA forms. I would like to capture the KeyPress, KeyDown or KeyUp events when a Excel VBA form has focus. Thanks Kaizenn . · The form controls have events to which you can attach event handling procs. If you right click the control and select to see its properties, there should be an ...In this post we look at two popular ways to create the shortcut keys. These include the Macro Options window and VBA code for the Application.OnKey method. I also explain the pros & cons of each method. 1. The Macro Options Window: Shortcut Key. We can use the Macro Options window in Excel to create a shortcut key to call the macro.