Forum home » Delegate support and help forum » Microsoft Excel VBA Training and help » For Loop
For Loop
Resolved · Low Priority · Version 2003
Nick has attended:
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course
Excel VBA Intro Intermediate course
Excel VBA Advanced course
For Loop
Please explain the function of X = 1 to 1 in relation to the for loop.....
For upcoming training course dates see: Pricing & availability
RE: For Loop
Hi Nick
A loop gets Excel to repeat a piece of code a certain number of times.
The number of times the code gets repeated can be specified as a fixed number (e.g. do this 10 times), or as a variable (e.g. do this for as many times as there are rows of data).
If you know, or can use code to find out, how many times to repeat a block of code you can use a For
Thu 5 Mar 2009: Automatically marked as resolved.
|
