public function Rechercher (A as SeQueTuVeu) as long dim Taille as long, Boucle as long on error goto RechError taille=ubound(b) NoRechError: for boucle=0 to taille if b(boucle)=A then Rechercher=boucle next boucle exit function RechError: taille=0 goto NoRechError end sub
Function Chercher(A as ...) as long Dim i as long On error Goto NoArray For i = lbound(Tableau) to ubound(tableau) If Tableau(i)=A then Chercher = i Exit Function Next NoArray : Chercher = -1 End Function
Vous n’avez pas trouvé la réponse que vous recherchez ?
Posez votre question