S shasta Apr 13, 2004 #1 when u create a macro it gives u an option to have a shortcut key...i it possible to have the return key as a shortcut
when u create a macro it gives u an option to have a shortcut key...i it possible to have the return key as a shortcut
J JE McGimpsey Apr 13, 2004 #4 One way: Public Sub test() Application.OnKey "{RETURN}", "MyReturnMacro" End Sub Public Sub MyReturnMacro() MsgBox "You pressed Return" End Sub You can put the Application.OnKey call in your Personal.xls Workbook_Open sub
One way: Public Sub test() Application.OnKey "{RETURN}", "MyReturnMacro" End Sub Public Sub MyReturnMacro() MsgBox "You pressed Return" End Sub You can put the Application.OnKey call in your Personal.xls Workbook_Open sub