PC Review


Reply
Thread Tools Rate Thread

Commanndbar and tooltip display

 
 
ojv
Guest
Posts: n/a
 
      8th Sep 2008
Use code as below to add controls to a menu item. Even though I set the
ToolTipText parameter to some value it is not displayed in the menu i make.
What am I missing? Any help appreciated.

Dim NewMenu As CommandBarPopup
Dim MenuItem As CommandBarControl
Set MenuItem = NewMenu.Controls.add(Type:=msoControlPopup)
With MenuItem
.Caption = "&Data"
.BeginGroup = True
.TooltipText = "Import result data to worksheets in new workbook," &
vbCrLf & _ "create new tags or compress data."
End With

 
Reply With Quote
 
 
 
 
Jim Rech
Guest
Posts: n/a
 
      8th Sep 2008
Menuitems do not display tooltips in Excel unfortunately.

--
Jim
"ojv" <(E-Mail Removed)> wrote in message
news:95EF9F10-7B51-46AA-A479-(E-Mail Removed)...
| Use code as below to add controls to a menu item. Even though I set the
| ToolTipText parameter to some value it is not displayed in the menu i
make.
| What am I missing? Any help appreciated.
|
| Dim NewMenu As CommandBarPopup
| Dim MenuItem As CommandBarControl
| Set MenuItem = NewMenu.Controls.add(Type:=msoControlPopup)
| With MenuItem
| .Caption = "&Data"
| .BeginGroup = True
| .TooltipText = "Import result data to worksheets in new workbook," &
| vbCrLf & _ "create new tags or compress data."
| End With
|

 
Reply With Quote
 
ojv
Guest
Posts: n/a
 
      8th Sep 2008
Thx.

"Jim Rech" wrote:

> Menuitems do not display tooltips in Excel unfortunately.
>
> --
> Jim
> "ojv" <(E-Mail Removed)> wrote in message
> news:95EF9F10-7B51-46AA-A479-(E-Mail Removed)...
> | Use code as below to add controls to a menu item. Even though I set the
> | ToolTipText parameter to some value it is not displayed in the menu i
> make.
> | What am I missing? Any help appreciated.
> |
> | Dim NewMenu As CommandBarPopup
> | Dim MenuItem As CommandBarControl
> | Set MenuItem = NewMenu.Controls.add(Type:=msoControlPopup)
> | With MenuItem
> | .Caption = "&Data"
> | .BeginGroup = True
> | .TooltipText = "Import result data to worksheets in new workbook," &
> | vbCrLf & _ "create new tags or compress data."
> | End With
> |
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ToolTip Will not display =?Utf-8?B?RGFycmVsbCBXZXNsZXk=?= Microsoft VB .NET 0 7th Nov 2006 09:38 PM
Display ToolTip on TextBox escristian@hotmail.com Microsoft Dot NET Framework Forms 1 15th Sep 2006 10:41 PM
How to display tooltip for ASP.Net listbox on IE. =?Utf-8?B?UmFt?= Windows XP Internet Explorer 0 7th Mar 2006 01:37 PM
how Display Tooltip on a Combo Box =?Utf-8?B?U0hZQU0gU1VOREFSIEUgRw==?= Microsoft Dot NET 1 17th Mar 2005 04:40 PM
Re: ToolTip display Kelly Windows XP General 0 26th Jul 2003 07:10 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:07 PM.