Sub Worksheet_Change(ByVal Target As Range)
If Target.Count > 1 Then Exit Sub
If Not Intersect(Target, [B2:ZZ2]) Is Nothing Then
Competence = Target: Ligne = 3
Range(Cells(3, Target.Column), Cells(65000, Target.Column)).ClearContents
For Each F In Worksheets
If F.Name <> ActiveSheet.Name Then
If Application.CountIf(F.Range("A1:ZZ10000"), Competence) > 0 Then
For Col = 1 To 700
L = 0: On Error Resume Next
L = Application.Match(Competence, F.Column(Col), 0)
If L <> 0 And F.Cells(L, Col + 1) = "Oui" Then
Cells(Ligne, Target.Column) = F.Name
Ligne = Ligne + 1: Exit For
End If
Next Col
End If
End If
Next F
End If
End Sub