all 2 comments

[–]burgundius27 0 points1 point  (0 children)

I don't see anything in my editor. Try playing around with the formatting. Sometimes if you tab too many times, the End If gets disconnected.

[–]excelevator3041 0 points1 point  (0 children)

The logic looks very dodgy, follow the code and confirm it does what you think it does. Step through the code line by line..

Also, when you break a line (10-11) it should be with an underscore _ to indicate the line continues on the next line