L
Linda
http://word.mvps.org/FAQs/Customization/CmdBtnShrtcutKey.htm
I have been following the instructions on the article (link above) on how to
get a menu button that is assigned to a macro to display the keyboard
shortcut on the menu. My toolbar name is field and my button name is
highlighted but I am still unable to get the shortcut key to display. I have
run the macro wording in the Immediate Window and used both quotes around the
item names and without, for example:
CommandBars(Field).Controls(Highlighted).ShortcutText="Ctrl+Shift+I"
and also:
CommandBars("Field").Controls("Highlighted").ShortcutText="Ctrl+Shift+I"
but neither code seems to work, I am using Word 2003. I have been able to
make this code work in an earlier version of Word and the code must have
worked then, although this was a long time ago and I haven't needed to do it
since.
I would be grateful of any help.
I have been following the instructions on the article (link above) on how to
get a menu button that is assigned to a macro to display the keyboard
shortcut on the menu. My toolbar name is field and my button name is
highlighted but I am still unable to get the shortcut key to display. I have
run the macro wording in the Immediate Window and used both quotes around the
item names and without, for example:
CommandBars(Field).Controls(Highlighted).ShortcutText="Ctrl+Shift+I"
and also:
CommandBars("Field").Controls("Highlighted").ShortcutText="Ctrl+Shift+I"
but neither code seems to work, I am using Word 2003. I have been able to
make this code work in an earlier version of Word and the code must have
worked then, although this was a long time ago and I haven't needed to do it
since.
I would be grateful of any help.