For Loop - Program Flow Control Statement - Loops from Number to MaxNumber, executing ForCode which is between the For and Next statements. To exit a For loop early, use the exitFor statement.

Syntax:

For {Variable} = {Number} to {MaxNumber}
{ForCode}
Next