Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ControlTipTex for the control menu bar?

Status
Not open for further replies.

JTBorton

Technical User
Jun 9, 2008
345
DE
Is it possible to add ControlTipText to the menu bar buttons as you would for a command button on a user form?

I tried the follwing code:

Code:
[COLOR=darkblue]With[/color] cbcCutomMenu.Controls.Add(Type:=msoControlButton)
    .Caption = "&Edit Current AGD"
    .OnAction = "UpdateAgenda"
    .ControlTipText = " [information about the command] "
    .Enabled = True
[COLOR=darkblue]End With[/color]

However the program says it doesn't support this property

-JTBorton
Another Day, Another Disaster
 
Perhaps this ?
.TooltipText = " [information about the command] "

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Well, it didn't crash, but it didn't work either.

-JTBorton
Another Day, Another Disaster
 
Sad Day.

-JTBorton
Another Day, Another Disaster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top