melotron
01-12-2007, 04:10 AM
Hello.
Please, advise the analogue to OnKey method for PowerPoint.
I need to assign a key combination to a macro by means of VBA.
In Excel I used:
Application.OnKey "%{q}", "MyMacro"
In Word I used:
KeyBindings.Add.KeyCode (ptKeyAlt, ptKeyQ), _ KeyCategory:=ptKeyCategoryMacro, Command:="MyMacro"
How to do the same for PowerPoint?
Thanks in advance!
Please, advise the analogue to OnKey method for PowerPoint.
I need to assign a key combination to a macro by means of VBA.
In Excel I used:
Application.OnKey "%{q}", "MyMacro"
In Word I used:
KeyBindings.Add.KeyCode (ptKeyAlt, ptKeyQ), _ KeyCategory:=ptKeyCategoryMacro, Command:="MyMacro"
How to do the same for PowerPoint?
Thanks in advance!