Adding a Macro to the Quick Access Toolbar

Written by Allen Wyatt (last updated December 30, 2023)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, Excel in Microsoft 365, and 2021


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 a later version:

  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.

Note:

If you would like to know how to use the macros described on this page (or on any other page on the ExcelTips sites), I've prepared a special page that includes helpful information. Click here to open that special page in a new browser tab.

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

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

Shading Based on Odds and Evens

You can use conditional formatting to add shading to various cells in your worksheet. This tip shows how you can shade ...

Discover More

Reversing All the Paragraphs in a Document

Documents consist of a series of paragraphs, arranged in the order in which you need them. What if you need to reverse ...

Discover More

Determining a Simple Moving Average

A moving average can be a great way to analyze a series of data points that you've collected over time. Setting up a ...

Discover More

Professional Development Guidance! Four world-class developers offer start-to-finish guidance for building powerful, robust, and secure applications with Excel. The authors show how to consistently make the right design decisions and make the most of Excel's powerful features. Check out Professional Excel Development today!

More ExcelTips (ribbon)

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, ...

Discover More

Adding a Tool to Clear Borders

Excel allows you to easily add tools to the Quick Access Toolbar. If you want to add a tool that clears all the borders ...

Discover More

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 ...

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}] (all 7 characters, in the sequence shown) 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 2 + 8?

There are currently no comments for this tip. (Be the first to leave your comment—just use the simple form above!)


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.