tres interessant!
j'ai creer un bouton mais quand je relache, je ne reussi pas a apele la macro relie a l'evenement mouse up? qu'est-ce qu'il me manque?
Private Sub CommandButton20_MouseDown(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
MsgBox "Button = " & Button & Chr$(13) & _
"Shift = " & Shift & Chr$(13) & _
"X = " & X & " Y = " & Y
End Sub
Private Sub CommandButton20_MouseUp(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
MsgBox "Button = " & Button & Chr$(13) & _
"Shift = " & Shift & Chr$(13) & _
"X = " & X & " Y = " & Y + 10
End Sub