![]() ![]() How are you supposed to know the code for each key? Microsoft has this helpful document, which contains a complete list. The + is the code for Ctrl, the ^ is code for Shift, and the C key is enclosed in curly brackets (or braces). In my example I use “+^” for the Key parameter.The Procedure is the name of the macro that will be called when the key combination is pressed.īoth parameters are enclosed in quotation marks. ![]() The Key is the keyboard shortcut combination represented by key codes. The Application.OnKey method has two parameters for the Key and Procedure.
0 Comments
Leave a Reply. |