May
18
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.
No TweetBacks yet. (Be the first to Tweet this post)





Do you know if we can use the icons anywhere else–a different application?
May 19th, 2010 at 12:20 pm
@MaryPat, you sure can. According to the page with the icons: “Need icons for your new website or web application, at the best price there is (free!)?”
May 19th, 2010 at 1:20 pm
Can you please correct the text? It refers to Word 2007 but that program does not have a Tools / Customize feature. That disappeared in Word 2003 (darn it!)
June 6th, 2012 at 11:45 am