Adding a Macro to the Quick Access Toolbar

by Allen Wyatt
(last updated April 24, 2017)

6

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

Getting Rid of All Hyperlinks

Need to get rid of all the hyperlinks in a worksheet? It's easy when you use this single-line macro.

Discover More

Tracked Changes Won't Go Away

Track Changes is a great tool when editing a document, but the ways that it affects your document can sometimes be confusing. ...

Discover More

Disabling Dragging and Dropping

Excel allows you to easily paste information into a worksheet, including through simply dragging and dropping the ...

Discover More

Create Custom Apps with VBA! Discover how to extend the capabilities of Office 2013 (Word, Excel, PowerPoint, Outlook, and Access) with VBA programming, using it for writing macros, automating Office applications, and creating custom applications. Check out Mastering VBA for Office 2013 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 four less than 9?

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.