Bonjour,
Au lieu de boutons, vous pourriez utilisez deux événements dans votre module d'onglet :
- 1 double-clic pour diminuer
- 1 clic droit pour augmenter.
Option Explicit
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("B1:B10")) Is Nothing Then
Target = Target - 20
Cancel = True
End If
End Sub
Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("B1:B10")) Is Nothing Then
Target = Target + 20
Cancel = True
End If
End Sub