Info

Figure 5.3

After running the Next I statement, I is incremented to 2.Code execution continues with the line of code immediately following the For statement.

Figure 5.3

After running the Next I statement, I is incremented to 2.Code execution continues with the line of code immediately following the For statement.

The second time through the loop, the value of I is 2. The cell in Row 2, Column 2 (that is, cell B2) gets a value of 2 (see Figure 5.4).

Figure 5.4

After the second time through the loop, cells A1 and B2 are filled in.

0 0

Post a comment