Solved

Tooltips in VBA

Posted on 2007-11-23
2
4,650 Views
Last Modified: 2008-09-09
I need to create tooltips on a form I'm running in Excel. I'm neither particularly familiar with VBA (most of my Microsoft dev experience is in C# and VB6), nor tooltips.

Does Microsoft provide a nice simple way to do this, or is there a free package out there I can use (with source code, as I need to ship my Excel sheet around and don't want to include a .dll with it)?
0
Comment
Question by:Melvinivitch
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 33

Accepted Solution

by:
Jeroen Rosink earned 500 total points
ID: 20341966
If you are using a userform in excel and you added objects to that form then you can use the "ControlTipText" option in the property window of that control to add you tooltip. So when the user is hovering over the object that text will be shown.

I hope this works for you
regards,
Jeroen
0
 
LVL 17

Expert Comment

by:Shanmuga Sundaram
ID: 20342063
Sub ChangeToolTipsText()
    Application.CommandBars("Formatting").Controls(1).TooltipText = "Test"
End Sub


Sub ResetToolTipsText()
    Application.CommandBars("Formatting").Controls(1).TooltipText = ""
End Sub


Sub ResetAllControlSettings()
    Application.CommandBars("Formatting").Controls(1).Reset
End Sub

0

Featured Post

[Live Webinar] The Cloud Skills Gap

As Cloud technologies come of age, business leaders grapple with the impact it has on their team's skills and the gap associated with the use of a cloud platform.

Join experts from 451 Research and Concerto Cloud Services on July 27th where we will examine fact and fiction.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Suggested Courses
Course of the Month7 days, 22 hours left to enroll

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question