Private Sub Worksheet_Change(ByVal Target As Range)
Dim c As Range
If Not Intersect(Target, Range("B1")) Is Nothing Then
With Range("A3:R2500")
Set c = .Find(Target.Value, LookIn:=xlValues, lookat:=xlWhole)
If Not c Is Nothing Then
ActiveWindow.ScrollRow = c.Row - 0
End If
End With
If Sheets("fiche").Cells(1, 5).Interior.ColorIndex = 0 Then
Dim fin, x, i As Long
[B]fin = sheets("BD")..Range("K65000").End(xlUp).Row[/B]
For i = 3 To fin
x = i
y = x + 1
For x = y To fin
If Cells(i, 11) = Cells(x, 11) Then Sheets("fiche").Cells(1, 5).Interior.ColorIndex = 3
Next
Next
End If
End With
If Sheets("fiche").Cells(1, 6).Interior.ColorIndex = 0 Then
Dim fin, x, i As Long
[B] fin = sheets("BD")..Range("K65000").End(xlUp).Row[/B]
For i = 3 To fin
x = i
y = x + 1
For x = y To fin
If Cells(i, 11) = Cells(x, 11) Then Sheets("fiche").Cells(1, 6).Interior.ColorIndex = 18
Next
Next
End If
End Sub