Private Sub Command2_Click() ss = Split(Text3.Text, vbCrLf) For i = 1 To UBound(ss) - 1 If (CInt(ss(i - 1)) > CInt(ss(i))) Then MsgBox (ss(i) & "不符合排列顺序,请检查) Exit For End If Next End Sub
[此贴子已经被作者于2021-7-21 12:02编辑过]