Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 02-15-2014, 05:13 PM
MarkPhil MarkPhil is offline Add command (not gallery) to quick access toolbar Windows 7 64bit Add command (not gallery) to quick access toolbar Office 2010 32bit
Novice
Add command (not gallery) to quick access toolbar
 
Join Date: Feb 2012
Posts: 4
MarkPhil is on a distinguished road
Default 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.
Reply With Quote
  #2  
Old 02-15-2014, 08:52 PM
Charles Kenyon Charles Kenyon is offline Add command (not gallery) to quick access toolbar Windows 7 64bit Add command (not gallery) to quick access toolbar Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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
See Installing Macros if you need help adding such a macro.

Last edited by Charles Kenyon; 02-16-2014 at 06:08 AM.
Reply With Quote
  #3  
Old 02-15-2014, 09:04 PM
MarkPhil MarkPhil is offline Add command (not gallery) to quick access toolbar Windows 7 64bit Add command (not gallery) to quick access toolbar Office 2010 32bit
Novice
Add command (not gallery) to quick access toolbar
 
Join Date: Feb 2012
Posts: 4
MarkPhil is on a distinguished road
Default

Thanks Charles. I'll play around with macros to see if I can accomplish all the shortcuts I have in mind.
Reply With Quote
  #4  
Old 02-16-2014, 06:10 AM
Charles Kenyon Charles Kenyon is offline Add command (not gallery) to quick access toolbar Windows 7 64bit Add command (not gallery) to quick access toolbar Office 2010 32bit
Moderator
 
Join Date: Mar 2012
Location: Sun Prairie, Wisconsin
Posts: 9,140
Charles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant futureCharles Kenyon has a brilliant future
Default

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.
Reply With Quote
Reply

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
Add command (not gallery) to quick access toolbar How do I enable a button in the quick access toolbar dpb001 Word VBA 1 05-02-2012 12:41 AM
Add command (not gallery) to quick access toolbar 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

Other Forums: Access Forums

All times are GMT -7. The time now is 12:17 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft