How to Use For Next Loops in MS Access VBA
In your Access programming, you’re going to use loops for all kinds of things, and as you become more proficient, you’ll start using For.. Next loops as part of your code. In previous episodes, we covered the Do Until, and Do While loops, which are great additions to your toolbox. In this episode, we’re using a third type, the For Next loop. For.. Next.. loops are very handy because they allow you to iterate a specific number of times without creating a counter inside the loop, and they also allow you to loops through a set of items based on its position in the item set. Let’s go check out For.. Next.. loops!
Related Videos:
How to Use Left, Right, Mid, Instr, and Trim on Strings in MS Access and VBA
How to Use DateAdd, DateDiff, and DatePart to Calculate Dates in MS Access
How to Handle Line Breaks in Microsoft Access
How to Open a RecordSet in Access VBA and Loop Through the Records
How to Use BOF and EOF on Recordsets in MS Access
How to use With.. End With in MS Access VBA
How to Use Global Variables in Microsoft Access VBA
How to Use For Next Loops in MS Access VBA
You are watching this video now!
How to Use a Do While Loop in MS Access VBA
Want to get access to premium content made just for you and have a chat with me? Find me on Patreon :
Demo of my BZ RDP Cloaker:
Want to work with me 1:1? Contact me today and book your free 20 min consultation!
Contact form you can find at
Follow me on social media:
Get Microsoft Office including Access:
Got a YouTube Channel? I use TubeBuddy, it is awesome. Give it a try:
For developers looking for a new role, check out:
Want my team to do a project for you? Let's get to it!
Watch video How to Use For Next Loops in MS Access VBA online without registration, duration 12 minute 12 second in high hd quality. This video was added by user Sean MacKenzie Data Engineering 19 October 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 4 thousand once and liked it 56 people.