0

I assigned my macro to a keyboard shortcut in Excel-VBA. It was a long time ago and I forgot to which key. How can I see it?

Community
  • 1
  • 1
z32a7ul
  • 3,695
  • 3
  • 21
  • 45

2 Answers2

4

Bring up the Macro dialog box (Alt+F8 or Macros on the View ribbon).

enter image description here

Select your macro.

Click the Options button.

enter image description here

L Y E S - C H I O U K H
  • 4,765
  • 8
  • 40
  • 57
Darren Bartrup-Cook
  • 18,362
  • 1
  • 23
  • 45
  • Thanks, that was the first place I looked at. It's empty but I'm sure that I could launch it from the keyboard. – z32a7ul Oct 05 '16 at 11:03
0

Well, I found it.

Private Sub Workbook_Open()
    Application.OnKey "{F12}", "MyMacro"
End Sub
z32a7ul
  • 3,695
  • 3
  • 21
  • 45