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