You need to be logged in to view this content. Please login or become a member.

<<  Prev   |   Index   |   Next  >>


What if you need to run the same piece of code several times in a row? Here we introduce to various types of code loops.


You can exit Do loops prematurely using the Exit Do statement. You can exit For – Next loops prematurely using the Exit For statement.

Lesson Files

Lesson 1.5 – for – next loop code
Lesson 1.5 – loop examples code
Code snippets


Lesson 1.5 homework solution


  1. vijaysarathyp

    Hi Keith

    Your presentation is very helpful particularly for person like me who has nil coding experience.

    Could you please advise “While loop” & “do while loop” are exactly same.

    Is there any instance where we have to choose between these two?

Questions and Comments

You must be logged in to post a comment.