#1
|
|||
|
|||
Add command (not gallery) to quick access toolbar
I'd like to know if it's possible to add a particular command, rather than the "gallery" containing that command, to the quick access toolbar. So, for example, I know how to add the "change text color" gallery to the toolbar, so that I can click on the gallery in the toolbar and select a text color from the menu. But is there any way I can add a shortcut to the gallery that, say, automatically changes the text color to green (rather than defaulting to the last color used), and another shortcut to change text to red, etc. Or is the only option to add the gallery to the toolbar and select from there?
(I realize this specific example could be accomplished by creating styles that can be selected from the quick styles gallery, but I'd like to know if there's a general way to accomplish this, as not everything I'd like to add to the toolbar has to do with text formatting). Thanks in advance for any advice. Last edited by MarkPhil; 02-15-2014 at 09:01 PM. |
#2
|
|||
|
|||
I don't know if that is a command, as such, but commands can be added if you can find them. Look under all commands. There are a lot of commands.
I don't find it, but the following macro works: Code:
Sub ColorGreen() ' ' ColorGreen Macro ' Selection.Font.ColorIndex = wdGreen ' End Sub Last edited by Charles Kenyon; 02-16-2014 at 06:08 AM. |
#3
|
|||
|
|||
Thanks Charles. I'll play around with macros to see if I can accomplish all the shortcuts I have in mind.
|
#4
|
|||
|
|||
You are welcome. Note that this macro was written, not recorded. The Code for red is wdRed. If in the vba editor your erase back to the = sign and retype the equals sign you will get a sselection list.
|
Tags |
quick access toolbar, shortcuts |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Add a Signature directly to the Quick Access Toolbar as a shortcut? | viper92283 | Outlook | 0 | 01-06-2014 10:34 AM |
How do I enable a button in the quick access toolbar | dpb001 | Word VBA | 1 | 05-02-2012 12:41 AM |
Email button on quick access toolbar | castman | Word | 3 | 01-17-2012 02:24 PM |
add macro to quick access toolbar | TessaLee | Word VBA | 2 | 03-16-2011 06:31 PM |
Quick Access Toolbar | pmokover | Word | 0 | 10-30-2009 07:25 PM |