Question sur VBA

Hynd -  
 shaiulud -
Bonjour;
Je souhaiterais comprendre la signification de la fonction "StrComp" dans VBA.
Merci

1 réponse

  1. shaiulud
     
    cette fonctione sert à comarer 2 chaîne
    la syntaxe est : StrComp(str1,str2, type)

    StrComp("aa", "AA", vbTextCompare) retourne Vrai
    StrComp("aa", "AA", vbBinaryCompare) retourne Faux
    0