Function ChercheVitrage(CalTxt As Range)
ChercheVitrage = 0
textsrc = Replace(CalTxt.Value, ",", ".") 'Car avec Excel, le "point" du pavé numérique peu être une virgule
textsrc = Replace(textsrc, " /", "/")
textsrc = Replace(textsrc, "/ ", "/")
textsrc = Replace(textsrc, "( ", " ")
textsrc = Replace(textsrc, " )", " ")
textsrc = Replace(textsrc, "(", " ")
textsrc = Replace(textsrc, ")", " ")
textsrc = Replace(textsrc, vbLf, " ")
Dim Cel As Range
With Worksheets("Prix")
lr = .Cells(.Rows.Count, "L").End(xlUp).Row
For Each Cel In .Range("L2:L" & lr)
If InStr(" " & textsrc & " ", " " & Cel & " ") Then
ChercheVitrage = Val(Cel.Offset(, 1))
Exit For
End If
Next
End With
End Function