do..loop

循环语句,直到知足某个条件oop

Sub 事例()
Dim a%
Do
a = a + 1
If a > 10 Then
MsgBox a & "大于10"
Exit Do
End If
Loop
End Sub

相关文章
相关标签/搜索