Assign a Macro to a Toolbar Icon
November 11, 2021 - by Bill Jelen
![Assign a Macro to a Toolbar Icon Assign a Macro to a Toolbar Icon](/img/excel-tips/2021/11/assign-a-macro-to-a-toolbar-icon.jpg)
Problem: I want to run a macro from an icon in the Ribbon or the Quick Access Toolbar.
Strategy: This is similar to "Make Your Most-Used Icons Always Visible", with a couple of extra steps.
1. Right-click on the Quick Access Toolbar and choose Customize Quick Access Toolbar.
2. In the top-left dropdown, choose Macros.
-
3. In the left list box, choose the desired macro. Click the Add >> icon in the center of the screen.
4. Click on the macro in the right list box. Click Modify... at the bottom.
5. Choose one of the 180 available icons. Fondly recall the 4096 icons available in Excel 2003.
6. Type a meaningful tool tip in the box for Display Name.
7. Click OK for each of the open dialog boxes.
![Type a Display Name for the macro icon. This will show up as a Tooltip when you hover over the macro.](/img/content/2021/11/PE1659.jpg)
Result: the icon will be available in the Quick Access Toolbar.
![The icon appears in the Quick Access Toolbar. Hover, and the tooltip appears.](/img/content/2021/11/PE1660.jpg)
This article is an excerpt from Power Excel With MrExcel
Title photo by emrecan arık on Unsplash