Private Sub Worksheet_Change(ByVal Target As Range)
Dim Ligne As Long
If Application.CountA(Rows(Target.Row)) = 4 Then
If Cells(Target.Row, 4) = "" Or Cells(Target.Row, 5) = 0 Then
With Sheets("Feuil1")
Ligne = .Cells(.Rows.Count, 2).End(xlUp).Row + 1
.Cells(Ligne, 2) = Cells(Target.Row, 2)
.Cells(Ligne, 3) = Cells(Target.Row, 6)
.Cells(Ligne, 4) = Cells(Target.Row, 3)
.Cells(Ligne, 5) = Cells(Target.Row, 4) + Cells(Target.Row, 5)
End With
End If
End If
End Sub