R Rams007 Member Sep 20, 2020 #1 Say I have a loop, I want to set a variable to the first value of I in the loop until a condition is met. So like storing the first value like a constant and when the condition is met then this variable becomes the current value in the loop.
Say I have a loop, I want to set a variable to the first value of I in the loop until a condition is met. So like storing the first value like a constant and when the condition is met then this variable becomes the current value in the loop.
LucaMs Expert Licensed User Longtime User Sep 20, 2020 #2 ?? I don't understand exactly what you mean. Anyway, it seems that you need to use a "Do Until" or "Do While" loop, not a "For Next". Upvote 0
?? I don't understand exactly what you mean. Anyway, it seems that you need to use a "Do Until" or "Do While" loop, not a "For Next".