Private Sub Worksheet_Change(ByVal Target As Range)
Dim Plage, Col&
If Target.Count > 1 Then Exit Sub
Col = Cells(2, Columns.Count).End(xlToLeft).Column
Set Plage = Union(Range(Cells(6, 3), Cells(7, Col)), Range(Cells(17, 3), Cells(18, Col)), Range(Cells(28, 3), Cells(29, Col)), Range(Cells(39, 3), Cells(40, Col)), Range(Cells(50, 3), Cells(51, Col)), Range(Cells(60, 3), Cells(61, Col)))
If Not Application.Intersect(Target, Plage) Is Nothing Then
With alerte.Label1
Select Case Target.Row
Case 6, 17, 28, 39, 50, 61
.Caption = "Alerte 1"
Case 7, 18, 29, 40, 51, 62
.Caption = "Alerte 2"
End Select
End With
Select Case UCase(Target.Value)
Case Is = "21", "21ND", "10ND", "10", "0HP", "21ND", "FP", "33", "DE", "41", "RM", "SYND", "AKPS", "AKSC", "GT EX", "GT PRO", "SEM"
alerte.Show
End Select
End If
End Sub