J'aurai voulu savoir si il existe une fonction sous VBA permettant de rechercher si une chaine de caractere se trouve à l'intérieur d'un tableau.
Comme ci dessous
Code:
if "toto" in array("tata","tutu","titit") then top = 1
Je n'ai pas envie de faire :
Code:
tableau = array("tata","tutu","titit")
for z = ubound(tableau) to ubound(tableau)
if "toto" = tableau(z) then top = 1
next z