Do
Previous Top Next

The Do ... Loop While | Until is similar to Do Loop | While with the difference that the condition is checked at the end of the loop and not at the beginning.
The loop will be executed at least once.
Syntax:
Do
...
Loop While | Until conditon

Example:
Do
            i=i+1
Loop  Until Msgbox ("Add another?",,cMsgboxYesNo) = cNo
Msgbox (i)