Have you ever wanted to attach a Macro to a button on the toolbar in Microsoft Word? Maybe you have and have seen the images that are provided for you. Microsoft provides you with about 20 icons. I personnaly like the little pig icon:. But, how do we get rid of that little piggy and insert our own custom icon? Just follow these steps:
- Open Microsoft Word 2007 and create your macro.
- Find or create your icon. You can get some great icons for free at FAMFAMFAM.
- Insert the image icon into the Word document. This is only temporary. You can delete the image from the page when you are done.
- Right-click on the image and select Copy.
- Go to Tools > Customize, you are now in the Customize dialog box.
- Click the Toolbars tab.
- Click New.
- Edit the toolbar name to whatever you want from the Make Toolbar Available list, and choose the document on which you are currently working.
- Click OK.
- Activate the Commands tab.
- From the Categories list, select Macros.
- In the Save In list, make sure the current document is selected.
- From the Commands list, choose the macro you want to attach to the button and drag it on top of the new little menu that has suddenly appearred on your screen
- Right-click on the new button and choose Customize.
- Right-click on the button again and choose Paste Button Image.
- Close out of the Customize dialog box and delete the image from the document.
- Save it, click your cool custom icon, and watch your macro work!
To hear about the latest Office 2010 news, blogs, and training, subscribe to our newsletter. Click here to subscribe.