Function CherchePierre(ByVal Bijou As String, ListePierreCode As Range)
Dim t, i&, tail&, idx&
t = ListePierreCode
For i = 1 To UBound(t)
If InStr(1, Bijou, t(i, 1), vbTextCompare) Then
If Len(t(i, 1)) > tail Then tail = Len(t(i, 1)): idx = t(i, 2)
End If
Next i
If idx > 0 Then CherchePierre = idx Else CherchePierre = CVErr(xlErrNA)
End Function