For each loop using continue issue

Hi All

I am facing a for each looping with continue issue
I had a excel row 0 that the number 1-31
The first loop I want show 1-5 only and then break it

The second loop I want to start from number 6, then I using continue to skip 1-5.

1-5 can perfectly skip. The problem is start at 10, I had set the message box to check Before IF the number is running to which index, 10 can appear at Before IF: 10 and then it go back to the beginning of the loop until run to 31.


it’s because you compare them as String.
Can you try the following expression in condition of IF?



Wow…It’s work, thx a lot

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.