1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
| Private Sub Command4_Click()
Dim texte1 As String, texte2 As String, conclusion As String
texte1 = "A"
texte2 = "AaÀàÁáÂâÃãÄäÅå"
Dim texte3 As String, texte4 As String, conclusion As String
texte3 = "E"
texte4 = "EeÈèÉéÊêËë"
Dim texte5 As String, texte6 As String, conclusion As String
texte5 = "I"
texte6 = "IiÌìÍíÎîÏï"
Dim texte7 As String, texte8 As String, conclusion As String
texte7 = "O"
texte8 = "OoÒòÓóÔôÕõÖöØø"
Dim texte9 As String, texte10 As String, conclusion As String
texte9 = "U"
texte10 = "UuÙùÚúÛûÜü"
Dim texte11 As String, texte12 As String, conclusion As String
texte11 = "Y"
texte12 = "YyÝý"
Dim texte13 As String, texte14 As String, conclusion As String
texte13 = "C"
texte14 = "CcÇç"
Dim texte15 As String, texte16 As String, conclusion As String
texte15 = "D'"
texte16 = "D'd'd''"
Dim texte17 As String, texte18 As String, conclusion As String
texte17 = "L'"
texte18 = "L'l'l''"
conclusion = IIf(comparons(texte1, texte2), "sont très vraisemblablement", "ne sont pas")
MsgBox texte1 & vbCrLf & "et" & vbCrLf & texte2 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte4, texte4), "sont très vraisemblablement", "ne sont pas")
MsgBox texte3 & vbCrLf & "et" & vbCrLf & texte4 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte5, texte6), "sont très vraisemblablement", "ne sont pas")
MsgBox texte5 & vbCrLf & "et" & vbCrLf & texte6 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte7, texte8), "sont très vraisemblablement", "ne sont pas")
MsgBox texte7 & vbCrLf & "et" & vbCrLf & texte8 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte9, texte10), "sont très vraisemblablement", "ne sont pas")
MsgBox texte9 & vbCrLf & "et" & vbCrLf & texte10 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte11, texte12), "sont très vraisemblablement", "ne sont pas")
MsgBox texte11 & vbCrLf & "et" & vbCrLf & texte12 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte13, texte14), "sont très vraisemblablement", "ne sont pas")
MsgBox texte13 & vbCrLf & "et" & vbCrLf & texte14 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte15, texte16), "sont très vraisemblablement", "ne sont pas")
MsgBox texte15 & vbCrLf & "et" & vbCrLf & texte16 & vbCrLf & conclusion & " la même chose"
conclusion = IIf(comparons(texte17, texte18), "sont très vraisemblablement", "ne sont pas")
MsgBox texte17 & vbCrLf & "et" & vbCrLf & texte18 & vbCrLf & conclusion & " la même chose"
End Sub |