Do Until
Previous
Top
Next
Loops until a condition is true.
Syntax:
Do Until condition
...
...
Loop
Example:
Do Until Msgbox ("Add another?",,cMsgboxYesNo) = cNo
i=i+1
Loop
Msgbox (i)
Result:
The loop will continue until the user chooses No.