Chandoo.org Podcast - Become Awesome in Data Analytics
CP039: May the FOR Loop be with you – Introduction to For Loops in Excel VBA
Sponsors in this episode
No sponsor reads found in this episode's notes.
Host-read ads that the notes don't mention can't be found this way.
Show notes
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.
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
Introduction to Excel VBA – 5 part crash course
Introduction to VBA – what is it and how to get started – Podcast #22
Using FOR Loops – Examples
Looking up when data wont play nice – Using FOR Loops
Understanding variables, conditions & loops in VBA
Split an Excel file in to many using For Each loop
Optimization & Performance of VBA code
Transcript of this session:
Download this podcast transcript [PDF]
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.
The post CP039: May the FOR Loop be with you – Introduction to For Loops in Excel VBA appeared first on Chandoo.org - Learn Excel, Power BI & Charting Online.
From the show's RSS feed.