Bonjour,
En survolant rapidement les fonctions integree de EXCEL, je n'ai pas trouve ton bonheur. ALors je te propose de creer ta propre fonction en
vba de la maniere suivante (fonction teste et fonctionnelle)
Function number(cell_value)
'capture street number
Dim a As Variant
a = (cell_value)
If IsNumeric(a) Then
a = Trim(Str(a))
End If
L_a = Len(a)
str_number = ""
For i = 1 To L_a
ch = Mid(a, i, 1)
If Asc(ch) >= 48 Or Asc(ch) <= 57 Then
str_number = str_number & ch
End If
Next i
number = Val(str_number)
End Function
pour associer ta fonction a ton dossier ou ta feuille, je t'invite a suivre les explications donnees dans l'article (Anglais - desole) a l'URL suivante:
http://www.pcmag.com/article2/0,4149,678137,00.asp
va a la page 2 directement, elle explique comment creer le module qui contiendra ta fonction.