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

<<  Prev   |   Index   |   Next  >>

Description

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.

Notes

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

Homework

Lesson 1.5 homework solution

2 Comments

  1. vijaysarathyp

    Hi Keith

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

    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.