Adding a Macro to the Quick Access Toolbar

by Allen Wyatt
(last updated April 24, 2017)

5

People generally create macros because they intend to use them. (Makes sense, right?) If you have a macro that you need to use quite often, you may want to add it to the Quick Access Toolbar where it can be invoked easily. Just follow these steps if you are using Excel 2007:

  1. Click the Office button and then click Excel Options. Excel displays the Excel Options dialog box.
  2. At the left side of the dialog box click Customize.
  3. Using the Choose Commands From drop-down list, choose Macros. You should see a list of available macros.
  4. In the list of macros, click on the one you want added to the Quick Access Toolbar.
  5. Click the Add button. The macro moves to the right side of the dialog box.
  6. Click OK.

The steps are slightly different if you are using Excel 2010 or Excel 2013:

  1. Click the File tab on the ribbon.
  2. Click Options. Excel displays the Excel Options dialog box.
  3. At the left side of the dialog box click Quick Access Toolbar.
  4. Using the Choose Commands From drop-down list, choose Macros. You should see a list of available macros.
  5. In the list of macros, click on the one you want added to the Quick Access Toolbar.
  6. Click the Add button. The macro moves to the right side of the dialog box.
  7. Click OK.

ExcelTips is your source for cost-effective Microsoft Excel training. This tip (7849) applies to Microsoft Excel 2007, 2010, and 2013.

Author Bio

Allen Wyatt

With more than 50 non-fiction books and numerous magazine articles to his credit, Allen Wyatt is an internationally recognized author. He  is president of Sharon Parq Associates, a computer and publishing services company. ...

MORE FROM ALLEN

Losing All Formatting in a Document

Have you ever made a formatting change to a couple of characters or to a paragraph, only to see those changes affect text ...

Discover More

Finding Quoted Text in VBA

Macros are created for all sorts of purposes in creating, editing, and processing documents. You might want to use a macro to ...

Discover More

Creating One-time Labels

Need to create a set of labels for a specific purpose? The easiest way is to let Word create a set of blank labels and then ...

Discover More

Excel Smarts for Beginners! Featuring the friendly and trusted For Dummies style, this popular guide shows beginners how to get up and running with Excel while also helping more experienced users get comfortable with the newest features. Check out Excel 2013 For Dummies today!

More ExcelTips (ribbon)

Backing Up Quick Access Toolbars

The Quick Access Toolbar is a place where you can easily put your customizations. If you want to back up that toolbar info, ...

Discover More

Enlarging Icons on the Quick Access Toolbar

Tired of squinting when you look at icons on the Quick Access toolbar? It seems there is no relief from the eye strain, short ...

Discover More
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

View most recent newsletter.

Comments

If you would like to add an image to your comment (not an avatar, but an image to help in making the point of your comment), include the characters [{fig}] in your comment text. You’ll be prompted to upload your image when you submit the comment. Images larger than 600px wide or 1000px tall will be reduced. Up to three images may be included in a comment. All images are subject to review. Commenting privileges may be curtailed if inappropriate images are posted.

What is three minus 2?

2017-04-26 09:44:46

Pete Zicari

I found the feature for (theoretically) changing the names of Quick Toolbar buttons - but not their icons. Under Excel Preferences, it's Ribbon & Toolbar | quick access toolbar; select the command and click the gear icon at bottom. (see Figure 1 below)

Figure 1. How to change name of command in quick toolbar in Excel 2016 for Mac


2017-04-25 12:26:01

Willy Vanhaelen

@Philip
It is easy to do it in Excel 2007 and I suppose it's similar in later versions:
- Right click on the QAT and select Customise Quick Access Toolbar...
- In the dialog that appears select your macro in the right pane.
- Click Modify
- A dialog appears with a bunch of icons
- Choose the one you like and click OK


2017-04-24 10:05:49

Pete Zicari

In Excel 2016 for the Mac, the quick-access options are built into the toolbar. However, the tooltips attached to the standard buttons aren't available for the macro. The macro name would be quite helpful, as you can imagine. (see Figure 1 below)

Figure 1. the last button on the row is the options. The circles are my macros.


2017-04-24 03:13:43

Philip

Dear Allen,

What I am trying to figure out, is how to set the icon of these buttons to my own icon (or even to a pre-defined icon). When adding a macro to (any) toolbar, I get a blank icon only ...

I am using Excel 2016 on my Mac and on Windows systems.


2016-02-05 12:16:24

Willy Vanhaelen

Alternatively you can right click a command in the ribbon and select "Add to Quick Access Toolbar".


This Site

Got a version of Excel that uses the ribbon interface (Excel 2007 or later)? This site is for you! If you use an earlier version of Excel, visit our ExcelTips site focusing on the menu interface.

Newest Tips
Subscribe

FREE SERVICE: Get tips like this every week in ExcelTips, a free productivity newsletter. Enter your address and click "Subscribe."

(Your e-mail address is not shared with anyone, ever.)

View the most recent newsletter.