How to add image to custom button for PowerPoint 2007 VBA add-in?

An awesome expert here made an add-in into PowerPoint for me. When I install the add-in, it creates a button in the add-ins tab with a custom name. I was wondering if there is a way to add an image (my company logo) to that button.

Below is the code for the add-in.
I though it might go after

 NewControl.Caption = "Add FHC Project Number"

But I could not find any image property for NewControl

Is there another way?

Thanks very much!

Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

In 2007 it's much better to create a custom ribbon entry with XML to run the ppam Add In.

Some basics here

Lots more if you google for ribbonX

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Remove the Add-In from powerpoint Ribon..then re-install it by performing the below steps -->
Right click on the toolbar --> go to Customize---> Select Macros  from the Command tab --> You should be able to see your Add-In is listed there --> select --> Ok
Now before exiting the Customize Dialog box --> You will be able to see your Add-In is there in the Toolbar ..Right Click --> Change Icon/Images property will show up --browse/select the image to display --OK.
andreyman3d2kAuthor Commented:
Thanks for the reply. Your instructions will allow me to a add a custom image button to the quick access toolbar -- is there a way to add a custom image to a ribbon button?

The Ultimate Tool Kit for Technolgy Solution Provi

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy for valuable how-to assets including sample agreements, checklists, flowcharts, and more!

GO with JSRWilson ..
andreyman3d2kAuthor Commented:

I looked at the link you sent me, everything makes sense and I want to try it, however I am unsure of how to change the XML to bring in a custom image. The code in the example is 'imageMso="AcceptInvitation"' which I guess is some image that is already part of office. Would I just specify the image path there instead?

Hi again Andrey,  

All credit should go to JRWilson, but just to lend a hand:

In the Custom UI editor, do Insert-->Icons-->(select a file)

It will name the file and you reference it in your XML with "image=" instead of "imageMso="

andreyman3d2kAuthor Commented:
Ah, that should do it. Thanks a ton, appreciate the help!

It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today

From novice to tech pro — start learning today.