Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Fin: If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("C3:C5,C14:G15")) Is Nothing Then
Dim C%, InvestInit, PlusProche, NbJours%, Trouvé%
Application.ScreenUpdating = False
Application.EnableEvents = False
InvestInit = [C5]: NbJours = [C3]: Trouvé = 0: PlusProche = 0
For C = 3 To 7
If Cells(15, C) >= InvestInit And Trouvé = 0 Then
[L16] = Cells(14, C) / NbJours
Trouvé = 1
End If
If Cells(15, C) <= InvestInit Then
If InvestInit - Cells(15, C) > PlusProche Then PlusProche = Cells(15, C)...