RE: Screen Tip text for a customized toolbar button

Subject: RE: Screen Tip text for a customized toolbar button
From: Ed Klopfenstein <eklopfenstein -at- proclarity -dot- com>
To: "TECHWR-L" <techwr-l -at- lists -dot- raycomm -dot- com>
Date: Thu, 29 Aug 2002 09:18:05 -0600


Here's two sample snippets of code that could help. The first macro
highlights the first element in your menu bar (the File menu). Click on
something else and then mouse over the command to see the new TooltipText (I
did this so you can see the menu command that has the new TooltipText
entry). Just remember that elements of this collection are 1 based if you
use an index.

Public Sub RunThis()
With Word.CommandBars.ActiveMenuBar.Controls(1)
.TooltipText = "Here's Johnny!"
End With

End Sub

Change to your CommandBars collection to work with buttons, as in the

Public Sub RunThis()
With Word.CommandBars.Item(1).Controls(1)
.TooltipText = "Here's Another Johnny!"
End With

End Sub


Ed Klopfenstein

Technical Writer
ProClarity Corporation
PO Box 8064
Boise, ID 83707
eklopfenstein -at- proclarity -dot- com <mailto:eklopfenstein -at- proclarity -dot- com> <>

Check out the new release of RoboDemo, our easy-to-use tutorial software.
Plus, buy RoboHelp Office in August and save $100 with our mail-in rebate.
Get details and download free trial versions at

TECHWR-L is supported by ads and sponsorships...and donations.
You can help maintain the TECHWR-L community with donations

You are currently subscribed to techwr-l as:
archive -at- raycomm -dot- com
To unsubscribe send a blank email to leave-techwr-l-obscured -at- lists -dot- raycomm -dot- com
Send administrative questions to ejray -at- raycomm -dot- com -dot- Visit for more resources and info.

Previous by Author: RE: Career Upgrade
Next by Author: RE: terminology help
Previous by Thread: Screen Tip text for a customized toolbar button
Next by Thread: RE: Screen Tip text for a customized toolbar button

What this post helpful? Share it with friends and colleagues:

Sponsored Ads