Excel Macro Tutorial 6 – Add macro buttons to your toolbar
The finishing touch will be to put your macros into the toolbar, so they will be available to you every time you open up excel.
I have been working with Excel 2007 in these tutorials but up to this point everything I have shown you will work with 2003 and most other versions. With 2007 Microsoft removed the ability to (without tricky tweaking) make a custom drop-down menu in Excel. But they did make it easy to add a custom button to the quick access bar for a single macro. For a great tutorial on adding custom menus to 2003 see this page: Assign a Macro to a Toolbar or Menu. For 2007 see my tutorial below.
Adding a custom macro button to the Excel 2007 quick access toolbar:
The first thing to do is make sure you’ve been putting your macro code in the right place. If you put the code in the workbook it will be available to anyone who opens that file. But in this example we open and process a new workbook every day. So we should put the code in our personal macro file. This makes it available to you every time you open Excel. Open the visual basic editor to look at your files: …