Quote Originally Posted by li9erYol View Post
My loop is from 1 to 28!

How the error can be by 29?
That's what I asked.
Run it again, when you get the error, hover of the variable i and what is its value? Is it 29?

If so, is i declared at the top of your form? If so, it may have been changed due to a call to one of your other events, i.e., ETSI_Selector(i) click event for example. In this case, DIM i in the same routine that your for:next loop is running in