Adding a Macro to the Quick Access Toolbar

by Allen Wyatt
(last updated June 8, 2018)

9

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

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

Selecting a Custom Chart

Microsoft Graph allows you to easily create charts from numeric data, without the need to use Excel. Here's how to use ...

Discover More

Inserting the Date in a Header or Footer

Need today's date in the header or footer of your document? Here's how to get it there easily.

Discover More

Determining If a Value is Out of Limits

Need to figure out if a value is outside of some arbitrary limit related to a different value? There are a number of ways ...

Discover More

Solve Real Business Problems Master business modeling and analysis techniques with Excel and transform data into bottom-line results. This hands-on, scenario-focused guide shows you how to use the latest Excel tools to integrate data from multiple tables. Check out Microsoft Excel 2013 Data Analysis and Business Modeling 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

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}] 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 six more than 7?

2018-06-29 14:16:15

Jeri

I have this issue as well. Is there any fix yet? I feel like this is long overdue to fix.


2018-01-27 11:27:55

Peter Atherton

On 2007 this works

(see Figure 1 below)

Figure 1. 


2018-01-25 10:34:29

ger

My macros are not showing. I'm doing as you say in Windows 13. I tried creating macros in the personal workbook. That doesn't work when I'm opening excel through an application (CCH Prosystems Engagement audit software). So I tried saving my workbook (Vba) as an add in, and then checking the box in the excel options menu for adding that file as an add in. It shows but I can't access the macro I created- neither by the shortcut I assigned to it in personal xlsb or get it to show up in the quick access tool bar. I looked at the dropdown menu and made it list the macros. I feel it is just not there. I tried closing all excel files and reopening them. Also, there should be a way to assign keyboard shortcuts to macros from this toolbar, because I won't be able to see macros in the view macros box if it's as an add in. Thanks in advance.


2017-11-02 14:59:15

Pete

Hi, Alan -- You probably have more pull with Microsoft than the likes of me. Somebody ought to kick this bug up the priority ladder for Mac development: It's possible to change the name on custom entries to the quick-access toolbar in Excel 2016, but clicking "save" does not save the change; the name always reverts to <<No label>>. I give them credit for substantially improving the IDE for macro programming on the Mac in the last release, but I still miss this one!


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.