h_adil
Messages postés231Date d'inscriptionmercredi 27 avril 2005StatutMembreDernière intervention10 juin 2009
-
5 juin 2007 à 23:10
mortalino
Messages postés6786Date d'inscriptionvendredi 16 décembre 2005StatutMembreDernière intervention21 décembre 2011
-
5 juin 2007 à 23:21
BONSOIR
JE VEUX EN FAITE SAVOIR LE NOMBRE DE CHIFFRE DANS UNE CELLE A PARTIR D UNE MACRO
PAR EXEMPLE
CELLS (2,1)= 123
JE VEUX QUE LA MACRO ME DIT QUE LE NOMBRE DE CHIFFRES EST 3
MERCI
mortalino
Messages postés6786Date d'inscriptionvendredi 16 décembre 2005StatutMembreDernière intervention21 décembre 201118 5 juin 2007 à 23:21
salut,
avec IsNumeric et Len, tu devrais t'en sortir..
Function NbChiffre(byval myrange as range) as
long
If IsNumeric(myrange.Value) Then
NbChiffre = Len(myrange.Value)
Else
NbChiffre = 0
End If
end function
~
<small>[code.aspx?ID=39466 Mortalino] ~
Colorisation automatique</small>