think this would also help :P
For x = 1 to 50
If coord(x) = coord(x-1) then
blah=blah
next x
else
msgbox "next ended"
end if
or if you want to keep going to 50. then
For x = 1 to 50
If coord(x) = coord(x-1) then
msgbox "does equal"
else
msgbox "does not equal"
end if
next x
Last edited by sendkeys; 03-04-2005 at 08:14 PM.
|