Dim t As Table = Tables("初二汤原考点")For i As Integer = 1 To t.rows.count - 1 If t.rows(i)("代码") = t.rows(i-1)("代码") Thenmsgbox("第" & t.rows(i)("考场") & "考场,第" & t.rows(i)("座号") & "座号") End IfNext
请问这个循环如何在运行中结束循环,否则可能直点鼠标