Faites les modifications suivantes :
1. Dans la sub Ajout, désactivez :
- la ligne dlg =Range("H"...
- les deux lignes où es mentionné l'instruction INTERIOR.COLOR
- la ligne Dim dlg as integer
2. Remplacez la sub Annuler par celle ci-dessous
Sub Annuler()
Dim dlg As Integer, lig As Integer
Dim nb As String
If IsNumeric(Range("I2")) And Range("I2") > 0 Then
nb = InputBox("Entrez le nombre de vote à retirer pour le candidat numéro " & Range("I2").Value, "Annulation vote")
Select Case nb
Case Is = "": Exit Sub
Case Is > 0
dlg = Range("H" & Rows.Count).End(xlUp).Row
On Error Resume Next
lig = Range(Cells(5, 8), Cells(dlg, 8)).Find(Range("I2").Value, LookIn:=xlValues, lookat:=xlWhole).Row
If lig > 0 And Range("J" & lig) >= nb Then
Range("J" & lig) = Range("j" & lig) - nb
Else: MsgBox ("Le nombre de vote maximum à retirer est de " & Range("J" & lig)), vbOKOnly, "Information"
End If
End Select
End If
End sub
Cordialement