You could also try:
For x = 1 to 100
criteria 1
criteria 2
if criteria 2 = true then goto NextX
criteria 3
NextX:
Next x
This way, the script will run normally, and if criteria2 is true i
will skip criteria 3 (and further script) and go immediately to th
Next x statement
--
Message posted from
http://www.ExcelForum.com