Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I know how to change the text of a menu, and how to assign a procedure, but I can't assign the shortcut to that item. Here's a part of my procedure which changes the Print-item of the File menu. If (vItem.ID = 4) Then vItem.Caption = "Print mySheet" vItem.OnAction = "TB_PrintDialog" vItem.ShortcutText = "Ctrl+P" End If The text Ctrl+P is there, but if I press Ctrl+P on my keyboard, the standard Print-dialog comes in stead of TB_PrintDialog. If I choose the item in the menu, I get TB_PrintDialog. Do you have any advise? Thanks Jos Vens |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do I assign a CTRL + shortcut key to a menu item (paste speci. | Excel Discussion (Misc queries) | |||
Popup Menu / Shortcut Menu | Excel Discussion (Misc queries) | |||
Adding Sub Menu Item to Current Custom Menu | Excel Programming | |||
Menu items added with menu item editor in older versions | Excel Discussion (Misc queries) | |||
Adding a menu item right click menu when clicking on a single. | Excel Programming |