VBA For Statement

In the For VBA Statement below, you can count 1 to 10.
For I = 1 To 10
Next I

I wish to count from 10 to 9 using the for statement, is this possible.
doyle007Asked:
Who is Participating?
 
ragoranConnect With a Mentor Commented:
You can use the step instruction to specify the increment:

for i = 10 to 1 step -1

next i
0
 
doyle007Author Commented:
Thanks Ragoran, that worked a treat
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.