If Not Intersect(Target, Range("F34:N" & Cells(Rows.Count, "A").End(xlUp).Row)) Is Nothing Then
If WorksheetFunction.CountIf(Rows(Target.Row).Columns("A:E"), "<>") = 4 Then
If WorksheetFunction.CountIf(Rows(Target.Row).Columns("F:N"), "<>") < 9 Then
If Range("P" & Target.Row) = "" Then
Application.EnableEvents = False
Z = Application.InputBox("Un commentaire est obligatoire" & vbLf & "pour cette ligne")
If Not Z = False Then Range("P" & Target.Row) = Z
Application.EnableEvents = True
End If
End If
End If
End If