M M@ Guest 28 Octobre 2003 #1 Salut, Comment programmer un macro qui compare 2 chaînes de caractères ? Par exemple "Georges Dupont" et "Pierre André"
Salut, Comment programmer un macro qui compare 2 chaînes de caractères ? Par exemple "Georges Dupont" et "Pierre André"
J Julien Guest 29 Octobre 2003 #2 Essaie un truc dans le genre: Sub Compare(MyfirstString as string, MySecondString as String) If MyFirstString > MySecondString Then MsgBox "Grand" Else MsgBox "petit" End If end sub Vote positif 0 Vote négatif
Essaie un truc dans le genre: Sub Compare(MyfirstString as string, MySecondString as String) If MyFirstString > MySecondString Then MsgBox "Grand" Else MsgBox "petit" End If end sub