Make a macro run when you click a button in the worksheet in Excel.
This allows you to create a button and put it anywhere in the spreadsheet and then to have a macro run when that button is clicked.
This particular macro simply opens a small window and says "Hi!" but you can assign any macro that you want to this button.
You can easily stop the macro from being assigned to the button, meaning that nothing will happen when the button is clicked.
To do this, right-click the button > click Assign Macro > in the window that opens up, remove all of the text under where it says Macro name: and then hit the OK button.
Make sure that you have the macro already in your workbook before you try to assign it to a button.
In Excel 2007 and later you will have to save the Excel file as an Excel Macro-Enabled Workbook.
Don't forget to download the sample workbook for this tutorial so you can see this feature in action.