I would like to make a keyboard shorcut for a macro that I have. I would like it to be Alt+g. Does anyoone know how I can do this? If I go to Tools, Macro, Macros, the Options button only gives me the option to do Ctrl+.
Thanks.
Thanks.
Sub SetKey()
Application.OnKey "^g", "macro_name" '<---change macro name!
End Sub
Sub ResetKey()
Application.OnKey "^g"
End Sub
Application.OnKey "%g", "myMacro"
Application.OnKey "%g"