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

Paragraph Formatting Shortcuts

Paragraphs are one of the elemental building blocks in a Word document. Formatting those paragraphs is easy to do if you ...

Discover More

Exporting Black and White Charts

Excel's charts are normally created in color, but you can print them in black and white. You may be looking for a way to ...

Discover More

Deleting a Comment from a Cell

If you no longer have a need for a particular comment in a cell, you'll want to get rid of it. Here are a couple of ways you ...

Discover More

Comprehensive VBA Guide Visual Basic for Applications (VBA) is the language used for writing macros in all Office programs. This complete guide shows both professionals and novices how to master VBA in order to customize the entire Office suite for their needs. Check out Mastering VBA for Office 2010 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. Maximum image size is 6Mpixels. 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 7 - 0?

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.