change shortcut text

L

Lina

Hello
I'm hava a template with a custom toolbar with a menu for styles. On the
menu there is "style"- buttons.
For my styles I have added shortcut keys and the show up in my menu, but..
My problem is that for exampel shortcut key Ctrl+Shift+2 shows up like Ctrl+"
and the users do not like that. I know how to change the shortcut text with
vba but I have understand that it can´t be done to buttons with no onAction
set. Is there some way to change shortcut text on stylebuttons other than
making a sub for every button that sets the wanted style and asign that sub
to the onaction event?

Thanks!!
 
J

Jean-Guy Marcil

Lina said:
Hello
I'm hava a template with a custom toolbar with a menu for styles. On the
menu there is "style"- buttons.
For my styles I have added shortcut keys and the show up in my menu, but..
My problem is that for exampel shortcut key Ctrl+Shift+2 shows up like Ctrl+"
and the users do not like that. I know how to change the shortcut text with
vba but I have understand that it can´t be done to buttons with no onAction
set. Is there some way to change shortcut text on stylebuttons other than
making a sub for every button that sets the wanted style and asign that sub
to the onaction event?

Which Word version?

I have just created a style and assigned Ctrl+Shift+2 to it.
Then I created a menu on a toolbar and added that style as a sub-item to
that menu. The shortcut shows up just fine.
I tried with various screen resolution, no problems. I am using Word 2003.

How did you create these menus and items?
 
L

Lina

Hi!
I'm using word 2003.
I created the menus and buttons with the user interface not with code. The
strange thing is that the short cut key Ctrl+Shift+4 shows up just as I want
it but when I use Ctrl+Shift+2 and Ctrl+Shift+3 it shows Ctrl+" and Ctrl+#
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top