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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Mouseover in Excel

Status
Not open for further replies.

ef61778

IS-IT--Management
Sep 23, 2003
14
US
Can there be a mouse over caption for a command button on a woksheet?
 
Not strictly speaking. But you can pop a small message box describing the button by using the MouseMove event:
Code:
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
MsgBox ("This button does blah blah blah.")
End Sub
If you decide to go that route you will have to figure out a way to supress it after the first popup so it doesn't become an annoyance. Perhaps a global variable that you put the timestamp into so it cant display more than once every 5 seconds. . .

VBAjedi [swords]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top