sorry Norie, this is not what I mean.
The number 79 applies only in this example.
When I will make more entries , this number will change.
You said On the first iteration of the loop this is the formula that's evaluated
OK. But it should not stop because the criteria is still not met. In this case myvar = 3:00 which is not less than date2.
So the code should continue and the second iteration should be
Also in this case, the criteria is still not met...
So it will continue until "i" will become 79 in this case
where the condition will be true: myvar(2:00) < date2 (3:00)
Bookmarks