同时楼上.比较一下.就ok
Dim t1 As String, t2 As String, t3 As String
Dim temp As String
t1 = "Z"
t2 = "C"
t3 = "B"
If t1 > t2 Then
temp = t1: t1 = t2: t2 = temp
End If
If t1 > t3 Then
temp = t1: t1 = t3: t3 = temp
End If
If t2 > t3 Then
temp = t2: t2 = t3: t3 = temp
End If
MsgBox t1 & "<" & t2 & "<" & t3