incrementing for each cell_in_loop?

Joined
Apr 13, 2006
Messages
1
Reaction score
0
I need to increment a for each loop from within the loop. Like you would do in a normal for loop. Example:

For a = 0 to 50
if g > 10 then a = a + 1
Next

I need to know how to do this:

For Each cell_in_loop_1 In Range("'Sheet1'!A10:A24")
If g > 10 Then ...... increment cell_in_loop_1 to next cell
Next
 
Last edited:

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top