O'Reilly logo

Microsoft® Access VBA Programming for the Absolute Beginner by Michael Vine

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

CHAPTER 5LOOPING STRUCTURES

In this chapter I show you how to build iteration into your programs using VBA looping structures such as Do and For loops. In addition, you will learn some new VBA controls for managing groups of items and how to build random numbers into your programs.

INTRODUCTION TO LOOPING STRUCTURES

To loop, or iterate, computers need instructions known as looping structures, which determine such things as how many times a loop’s statements will execute and by what condition the loop exits. Each programming language implements its own version of looping structures, but most languages, including VBA, support some variation of Do and For loops. Although the syntax of looping structures varies from language to language, looping ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required