Sub Worksheet_Change(ByVal Target As Range)
On Error GoTo Fin: If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, [E:E]) Is Nothing Then
If Cells(Target.Row, "A") <> "" And Target = "OUI" Then
Cells(Target.Row, "F") = Date
Else
Cells(Target.Row, "F") = ""
End If
ElseIf Not Intersect(Target, [G:G]) Is Nothing Then
If Cells(Target.Row, "A") <> "" And Target = "OUI" Then
Cells(Target.Row, "H") = Date
Else
Cells(Target.Row, "H") = ""
End If
End If
Fin:
Application.ScreenUpdating = True
End Sub