-1
I have a button (Activex - Commandbutton) on a spreadsheet that I would like to change color by hovering the mouse up.
I did the following the code below, it even changes color but does not return the previous color:
Private Sub CommandButton1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
CommandButton1.BackColor = &H8000000D
End Sub
How to change color when just hover the mouse over?
Hello! This button is on a form?
– Andréa Aline