VBA (amateur) issue
I need your help in the following:
I have a command button in a form, say "CommandButton1" and I want to change the backcolor of the button into red, when mouse passes over the button. That's the easy part:
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
CommandButton1.BackColor = vbRed
End Sub
How can the button return to its previous backcolor state, after the mouse left the area of the button?
Thanks in advance
Bookmarks