I know how to create a custom menu bar and add controls to it. Say, for instance, I have a control on a popup control. I know I can set the .ShortcutText of the control, but exactly how do I get the shortcut key to work.
for example.
Dim newCtl As CommandBarControl
...
...
With NewCtl
.Caption = "Test"
.ShortcutText = "Ctl+Shift+M"
.OnAction = "Blah"
End With
What do I need to do in order to get the keys Ctl+Shift+M to actually perform "Blah" action?
Thanks. Probably something easy I am missing or forgot...
for example.
Dim newCtl As CommandBarControl
...
...
With NewCtl
.Caption = "Test"
.ShortcutText = "Ctl+Shift+M"
.OnAction = "Blah"
End With
What do I need to do in order to get the keys Ctl+Shift+M to actually perform "Blah" action?
Thanks. Probably something easy I am missing or forgot...