VBA Code:
Private Sub Chkbox1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
Dim i As Integer
Me.label1.Visible = True
End Sub
VBA Code:
Private Sub UserForm_Initialize()
Me.Label1.Visible = False
End Sub
I wanted to make the label1 visible when i hover my mouse on the Checkbox. However, after using the above code, the moment my mouse hovers over the checkbox, the mouse points disappears. The label never appears.
Please suggest.
P.S. : When I remove the label1.visible = false from form's Initialize event, the label is visible when the form is launched. However, the moment I hover my mouse on the checkbox, the label disappears. So something opposite of what I expect is happening here.