What you could use is the Comment of the Cell beneath.
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Static busy As Boolean
If busy = False Then
busy = True
If X > 10 And X < 40 And Y > 10 And Y < 40 Then
Call Module1.SetComment(CommandButton1.TopLeftCell, 1) 'On
Else
Call Module1.SetComment(CommandButton1.TopLeftCell, 0) 'Off
End If
busy = False
End If
End Sub
and in Module1
Sub SetComment(MyCell As Range, OnOff As Integer)
If MyCell.Comment Is Nothing Then
MyCell.AddComment
MyCell.Comment.Text Text:="Show this text"
Else
MyCell.Comment.Text Text:="Show this text"
End If
If OnOff = 0 Then 'Off
MyCell.Comment.Visible = False
ElseIf OnOff = 1 Then
MyCell.Comment.Visible = True
End If
End Sub
see My atachement and hoover over CB1.
Bookmarks