Macro button: Insert a button to run macros in Excel

You may load a useful macro with Microsoft Excel VBA. And every time when you apply the macro, you have to press keyboard shortcuts you set for this macro, or click View >> Macro >> Select the proper macro >> Run. Think of easy ways to apply macros? Yes, you can create a button to run a specific macro either in QAT of Ribbon or working area in Microsoft Excel 2007 and 2010.

Recommended Productivity Software

Office Tab: Use tabbed interface in Office as the use of web browser Chrome, Firefox and Internet Explorer.
Kutools for Excel: Adds 120 powerful new features to Excel. Increase your productivity in 5 minutes. Save two hours every day!
Classic Menu for Office: Brings back your familiar menus to Office 2007, 2010 and 2013 (includes Office 365).

Hint


arrow blue right bubbleInsert macro button in working area of current workbook

Firstly of all show Developer Tab in Ribbon

If you want to insert a macro button in working area of current workbook, it requires showing the Developer tab in Ribbon firstly, and you can do it with following steps:

  • Step 1: In Excel 2010, click the File >> Options >> Customize Ribbon, see the following screen shot. (Excel 2007)
  • Step 2: In the right side, check the Developer option.
  • Step 3: Click OK.

If you are using the Excel 2010, click the Office button >> Excel Options >> Popular, and check the Show Developer tab in the Ribbon option in the Top options for working with Excel section.

Secondly insert Macro Button in working area

Step 1: Click the Insert button under Developer tab, and select the first option under the Form Controls, see the following screen shot:

Step 2: Draw a button in working area.

Step 3: Then the Assign Macro dialog box pops up, select one macro you want to assign to this built button, and click OK.

Now the button is valid to apply the macro.

Optionally format the macro button

If you want to make the macro button easily understand and look nice, you can format it. You are able to change the text on button, change the assign macro, and format the control button with context menu by right clicking it.


arrow blue right bubbleInsert macro button in the Quick Access Toolbar on Ribbon

If you insert the macro button in working area of current workbook, you can only apply this macro in this workbook. However, you can apply the macro in all workbooks if you add the macro button in the Quick Access Toolbar on Ribbon.

Step 1: Click the arrow button at the top of ribbon, and select the More Commands… item in the drop down list. See the following screen shot:

Step 2: In the Excel Options dialog box, Select the Macros item in the Choose commands from drop down box, see the following screen shot;

Step 3: Select and highlight the macro that you will assigned to new button;

Step 4: Click the Add button.

Step 5: Now the selected macro name is added into the right box. Select the macro name in the right box. See the following screen shot.

Step 6: Click the Modify button.

Step 7: In the Modify Button dialog box, select one button symbol.

Step 8: Click OK.

Then go back to the QAT in Ribbon, you will get the new button assigned to the macro you selected in the Step 3.


Is your problem solved?

Recommended Productivity Tools

The following tools will greatly save your time and effort, which one do you prefer?
Office Tab: Using handy tabs in your Office, as the way of Chrome, Firefox and New Internet Explorer.
Kutools for Excel: 120 powerful new functions for Excel, Increase your productivity in 5 minutes. Save two hours every day!
Classic Menu for Office: Bring back familiar menus to Office 2007, 2010, 2013 and 365, as if it were Office 2000 and 2003.

Kutools for Excel

gold star1 Amazing! Increase your productivity in 5 minutes. Don't need any special skills, save two hours every day!

gold star1 More than 120 powerful advanced functions which designed for Excel:

  • Merge Cell/Rows/Columns without Losing Data.
  • Combine and Consolidate Multiple Sheets and Workbooks.
  • Compare Ranges, Copy Multiple Ranges, Convert Text to Date, Unit and Currency Conversion.
  • Count by Colors, Paging Subtotals, Advanced Sort and Super Filter,
  • More Select/Insert/Delete/Text/Format/Link/Comment/Workbooks/Worksheets Tools...

Screen shot of Kutools for Excel

btn read more     btn download     btn purchase