Private Sub Worksheet_SelectionChange(ByVal Target As Range)
On Error GoTo Fin
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, Range("D2:H2")) Is Nothing Then
If Target = "Afficher" Then Target = "Masquer" Else Target = "Afficher"
Cells(3, Target.Column).Select
End If
If Not Intersect(Target, Range("A5:A30")) Is Nothing Then
[A5:A30].ClearContents
For L = 5 To Target.Row
Cells(L, "A") = L-4
Next L
End If
If Not Intersect(Target, Range("A4")) Is Nothing Then
[A5:A30].ClearContents
End If
Fin:
End Sub