Summary
Use a For ... Next loop if we know before entering the loop how many times we want to repeat the group of statements.
Use Do While ... Loop if the group of statements is only to be executed under certain conditions.
Use a Do ... Loop Until when we want to execute a group of statements at least once.
An infinite loop is one that never stops running.
Use Do While ... Loop if the group of statements is only to be executed under certain conditions.
Use a Do ... Loop Until when we want to execute a group of statements at least once.
An infinite loop is one that never stops running.
No comments:
Post a Comment