Function NumExtrait(ByVal Txt As String) As Double
Dim P As Integer
For P = 1 To Len(Txt)
If Mid$(Txt, P, 1) <> "0" Then Exit For
Next P
If P > Len(Txt) Then Exit Function
If P > 1 Then Txt = Mid$(Txt, P)
For P = 1 To Len(Txt)
If Mid$(Txt, P, 1) Like "#" Then Exit For
Next P
NumExtrait = Val(Mid$(Txt, P))
End Function