What is a parse error at end of line?
If there is a parse error message when you try and run your code and you are shown the end of the code then 9/10 times the error isnt on the last line. It means that you have made a mistake earlier in the code. Check that: each FOR is terminated by a NEXT each WHILE is terminated by a WEND each REPEAT is terminated by a UNTIL all brackets are closed If these arent completed properly then a parse error will occur.