Hi all,

is there a way to use the for next statement and exclude some numbers.

For example

for i = 1 to 18 (and) 25 to 30 (and) 40 to 73.
.
.
.
.
next i

That it runs from 1 to 73, but skip the 19to24 and 31to39.
Thx, jan