Sub calculer()
For i = 2 To 17
signe1 = Cells(i, "B")
signe2 = Cells(i, "D")
signe3 = Cells(i, "F")
val1 = Cells(i, "A")
val2 = Cells(i, "C")
val3 = Cells(i, "E")
val4 = Cells(i, "G")
If (signe1 = "+") Then
somme = val1 + val2
Else
somme = val1 - val2
End If
If (signe2 = "+") Then
somme = somme + val3
Else
somme = somme - val3
End If
If (signe3 = "+") Then
somme = somme + val4
Else
somme = somme - val4
End If
Cells(i, "I") = somme
Next
End Sub