Loops Access

 

The VBA code fragments below are included in the Code VBA fragments library.
Fragments are snippets of code you can insert in your procedures.
Each item between braces correspond to a variable of the given type.
They are replaced with the new or existing variables by Fragment Builder in Code-VB tools.

For Each Control in Form

For Each {CONTROL} In {FORM}.Controls
    {CONTROL}<cursor>Next

For Each Control in Me

For Each {CONTROL} In Me.Controls
    {CONTROL}<cursor>Next

Loops Access For Each Control in Me