Graphic on Toolbar Drop-Down Menu

D

dabell

Hi,

I am using Word 2003 with Vista.

I have a drop-down menu on a custom toolbar that was inserted using the "New
Menu" item. There are a number of buttons sitting under this drop-down
menu.

I have no problem assigning graphic images to my toolbar buttons, but the
drop-down menu does not seem to allow graphic images on the face - only text
seems to be allowed. Yet on the Word Formatting toolbar, there are
drop-down items that do use graphic images without text (such as Line
Spacing, Highlight, Font Color, etc).

I tried using
CommandBars("ToolbarName").Controls(1).FaceID = 300
in my AutoOpen macro, but I just get a runtime error.

Perhaps it is just not possible to do in a custom toolbar, but I thought I
would check with you gurus before I give up and just accept text-only.

Thanks
Dean
 
D

Doug Robbins - Word MVP on news.microsoft.com

You can copy and paste a button image and or edit the image via
Tools>Customize.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 
D

dabell

Thanks Doug.
That is the method I use to apply images to buttons. But this method does
not work for drop-down menus added using "New Menu". After the "New Menu"
is added via Customize, you right-click on the new drop-down and the options
to copy/paste button images are greyed out.

I was hoping there was a VBA code alternative to get around this problem.

Thanks,
Dean
 
D

Doug Robbins - Word MVP on news.microsoft.com

Dean,

First you have to add something to the New Menu, then when you click on the
item that you have added, the Copy/Paste/Edit Button Image commands will be
enabled.

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP, originally posted via msnews.microsoft.com
 

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