Screentips on Toolbar

J

Jolene M. Morris

I created a VBA macro project with about 50 macros. I then created a new
toolbar and placed buttons for each macro on the toolbar. To save room, I
want to place an identifying image only on the toolbar then edit the
screentips to remind me of what the macro does until I learn all the images.

How do you change the screen tip? I've gone in to customize my toolbar,
right clicked the button, and changed the NAME field. But the screen tips
stays the same as before. I'm using Word XP (in Office Professional) on a
Windows XP (Home Edition) computer.

Jolene
 
J

Jonathan West

Hi Jolene,

Unfortunately, there isn't any means to change the screentip from the user
interface, so you have to use a bit of VBA code for it.

The simplest way to add or change the tooltips is as follows

1. Have your template open as the active document
2. Open the VBA editor and in it, open the immediate window.
3. Type the following:

ActiveDocument.CommandBars("My toolbar").Controls(1).TooltipText = "My text"

This will change the tooltip for the first button on the toolbar titled "My
toolbar". If you want to change a different toolnar, or a different button,
modify that line of code accordingly

Once the tooltops have been changed the way you want them, save the
template - the changes will stick.
 
K

Kemosabe

I created a VBA macro project with about 50 macros. I then created a new
toolbar and placed buttons for each macro on the toolbar. To save room, I
want to place an identifying image only on the toolbar then edit the
screentips to remind me of what the macro does until I learn all the images.

How do you change the screen tip? I've gone in to customize my toolbar,
right clicked the button, and changed the NAME field. But the screen tips
stays the same as before. I'm using Word XP (in Office Professional) on a
Windows XP (Home Edition) computer.

Jolene

http://support.microsoft.com/default.aspx?scid=kb;en-us;171595&Product=xlw97
 

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