Excel VBA Do Until and Do While Loops

Excel VBA Introduction Part 15 – Do Until and Do While Loops


Do Loops in VBA allow you to carry out a set of instructions repeatedly until some kind of condition is met. This video teaches you about the basics of the Do Loop statement including how to write Do Until and Do While loops, where to place your conditional statements and how to exit from a loop. The final part of the video provides a couple of longer examples using Do Loops to calculate new values for a list of data and then to split the list onto different worksheets.

Be the first to comment

Leave a Reply