Re Capucin le forum
voilà
a+
Papou
Sub cherche()
Dim i&, fin&, a&, x As Variant, n$, m, cel As Range, lig&
With Feuil6
fin = .Range("A" & Rows.Count).End(xlUp).Row
For i = 2 To fin
For a = 4 To 5
If .Cells(i, a).Font.ColorIndex = 3 And .Cells(i, a) = "L" Then
If .Cells(i, 9) Like "*" & "(" & "*" Then
x = Split(.Cells(i, 9), "(")
m = Split(x(1), ")")
n = m(0)
Set cel = Feuil7.Range("A:A").Find(n, , , xlWhole)
If Not cel Is Nothing Then lig = cel.Row
.Cells(i, a) = Right(Feuil7.Cells(lig, 2), 2)
Else
x = Split(.Cells(i, 9), ",")
n = x(1)
Set cel = Feuil7.Range("A:A").Find(n, , , xlWhole)
If Not cel Is Nothing Then lig = cel.Row
.Cells(i, a) = Right(Feuil7.Cells(lig, 2), 2)
End If
End If
Next a
Next i
End With
End Sub