[COLOR="red"]Option Explicit[/COLOR]
Private Sub CommandButton1_Click()
Range("F10").Value = Range("F10").Value - 1
End Sub
Private Sub CommandButton2_Click()
Range("F10").Value = Range("F10").Value + 1
End Sub
[COLOR="red"]Option Explicit[/COLOR]
Private Sub CommandButton1_Click()
Range("F10").Value = Range("F10").Value - 1
End Sub
Private Sub CommandButton2_Click()
Range("F10").Value = Range("F10").Value + 1
End SubCode dans ThisWorkbook :
Option Explicit