Is there a way for a idMso button to display a custom image?

J

JeffreyW

Is there a way for a idMso button to display a custom image Is there a way
for a idMso button to display a custom image in the 2007 Excel Ribbon? I
tried using the image="" parameter, but it is seemingly ignored.

Thanks for anyone's insights.
 
J

JeffreyW

Thanks for posting, Ron. I checked out your link but unless I am missing
something, this capability:

<menu id="MyDropdownMenu" label="My Menu" size="large" image="ron" >

.... seems limited to custom Menu items (or limited customization of macros
on the QAT). What I am trying to do is to use a custom Image on a built-in
idMso button. I still don't see how I can do this.
 
R

Ron de Bruin

Sorry
That is not possible but you can play with this

Add a custom button with your own image and use this to run the default code of Office button>open
Application.CommandBars.FindControl(ID:=23).Execute

Maybe you can use this ?
 
J

JeffreyW

I guess I might be able to use that approach, Ron ... but I'd hate to have to
use a macro that clears the undo History when running a built-in function
just to have a preferable Icon image.

I was afraid there wasn't going to be a way to do this ... I could
understand why MS might want to restrict users from changing the images on
built-in functions (given the ways they have locked down certain parts of the
UI), but it doesn't make sense that they prevent users from adding their own
custom images to functions where they don't provide a button image.

Thanks for looking at this.
 
R

Ron de Bruin

Oops press the send button to fast

The page I posted show you how to change the image (1871) but you
can't use your own image.
 
J

JeffreyW

I had looked at that, Ron. But the buttons I'm working with here won't be on
the QAT.

Thanks anyway,


Jeff
 

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