Word 2007 macro button icons

B

bluefalcon

I created many macros in the previous versions of Word. I want to use most of
them again in Word 2007. I have no problem recording them, but I want to
stick a custom button on the Quick Access Toolbar, as I used to have. What
happened to the edit button I pushed to get a customized image? Is there a
way I can trick Word into thinking an image I created is in its template?
Where does it save the icons I can choose from? There is nothing in this
"significantly" increased selection of icons that remotely resembles
something that would tell me what my macro does. Why do they think a smiley
face would be helpful in this instance?

Any help you can provide would be greatly appreciated. Thanks!
 
R

Renee

Sorry, you are stuck with the built-in Word icons. You can use one that's
not shown if you want to directly edit your QAT XML, but you are still
limited to built-in Word icons.
If there's some Word icon you'd rather use that's not in the Modify icon
dialog:
Look through the All Commands list and find the command whose icon you want.
Hover over the command and the name should show in parens at the end of the
tooltip.
Assign one of the custom icons in the Modify dialog to your macro, then exit
the app.
Do a Windows search to find your "word.qat" file (include system/hidden
files)
Open it in Notepad or any XML editor
Look for your macro name in the file. The XML will look something like this:
<mso:button idQ="x1:Macro1_1" visible="true" label="Normal.NewMacros.Macro1"
onAction="Macro1" imageMso="DollarSign"/>

Change the imageMso value to the commandName of the icon you want. (the name
in parens at the end of the command tooltip)

Of course, if you prefer to write an addin to add your item to the Ribbon,
you can specify a custom icon. That's quite a bit more work, however.
Instructions on how to do that are on MSDN.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top