Here are UDVs, which I use as loop variables:

Here is the For-Each definition.

When I run this from starting = 1 to ending = 11, it only runs 1, 2, 3, 4.
Then it stops.
Here is loop #4.

This shows that variable status_1, status_2, ... , status_11 are all defined.

The question is: why is status_5 and onwards not running?
CodePudding user response:
Either you made a typo/copy paste issue and one of the variables have an extra non-printable character like 
