CP039: May the FOR Loop be with you – Introduction to For Loops in Excel VBA

In the 39th session of Chandoo.org podcast, Let’s learn about FOR loops.

There is a special giveaway in this podcast. It is a workbook with several FOR loop VBA code examples. Listen to the episode for instructions.

Introduction to Excel VBA FOR Loops - What are they, how to use them - Chandoo.org Podcast - Session 039

What is in this session?

In this podcast,

  • Announcements
  • What is a loop – plain English & technical definitions
  • For Loop vs. other kind of loops (While & Until)
  • For Next loops
  • For Each loops
  • Nested For loops
  • Special tips on For loops
  • Performance issues & infinite loops
  • Conclusions & giveaway

Listen to this session

Click here to download the MP3 file.

Links & Resources mentioned in this podcast

Introduction to VBA

Using FOR Loops – Examples

Optimization & Performance of VBA code

Transcript of this session:

A full transcript of this podcast will be uploaded soon. Stay tuned.

Are FOR loops strong with your VBA code?

I personally favor FOR loops over While loops. I learned about loops in 1996 (in BASIC language). Any powerful application or program I have built ever since has its share of FOR loops. They are vital for doing awesome things with computers.

What about you? Do you use FOR loops often? When do you use them? What are your favorite implementations. Please share your tips & thoughts in the comments area.

Remember: Email me at [email protected] once you finish the task mentioned in the podcast to get your FOR loops example workbook.