Adding a Macro to the Quick Access Toolbar

Written by Allen Wyatt (last updated August 12, 2022)
This tip applies to Excel 2007, 2010, 2013, 2016, 2019, and Excel in Microsoft 365


3

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, and Excel in Microsoft 365.

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

Converting List Types

There are two types of common lists you can create in Word: bulleted lists and numbered lists. You can switch between the ...

Discover More

Checking for Words and Phrases

You may want to determine if a document contains a certain set of words or phrases. There are a couple of ways you can ...

Discover More

Where Is that Text?

Looking for a formula that can return the address of a cell containing a text string? Look no further; the solution is in ...

Discover More

Save Time and Supercharge Excel! Automate virtually any routine task and save yourself hours, days, maybe even weeks. Then, learn how to make Excel do things you thought were simply impossible! Mastering advanced Excel macros has never been easier. Check out Excel 2010 VBA and Macros 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 ...

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

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
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 nine more than 7?

2018-07-30 07:23:12

Jonathan Ayres

The dialog can also be accessed from the QA Toolbar itself using the customise button at the right hand end of the bar and selecting More Commands...


2018-07-29 16:03:37

Morrs Manning

Quick Access is useful but has several limitations that I wish Microsoft would address. (1) Give users access to a much larger library of icons and/or put a button editor back in Excel and the other office programs. (2) Put more color contrast into the coloration of icons. (3) Give the option to make Quick Access icons larger without changing the screen resolution.

The number of QA icons tends to grow. One way to reduce the number of Icons is to move as many as possible to a custom Ribbon Tab. For example, I have created a Tab called Table Mgmt with virtually every functionality provided by Excel plus my custom macros used for tables, data ranges and data management...all in one place. I have a similar Tab on my Word Ribbon. I can accomplish at least 75% to 80% of my work in this one tab.


2018-07-29 00:45:29

Philip

A lost functionality (at least I can’t find it anymore) is to make your own button icons and add these to a custom ribbon,. What are the possibilities to do that ? (On Office 365 for Mac) ...


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.