I created a For...Next loop that takes values from three VBA textbox. ex:
For i = Starting.Text To Ending.text Step q.text
If ... Then V.Text = i
....
next i
It works from 1 to 99, but doesn't work from 100 to 199, works again from 200 to 999, but doesn't work from 1000. Can anybody share a light on this? Thank you very much. (The values are Ending.text, with step q.text being 1.)
For i = Starting.Text To Ending.text Step q.text
If ... Then V.Text = i
....
next i
It works from 1 to 99, but doesn't work from 100 to 199, works again from 200 to 999, but doesn't work from 1000. Can anybody share a light on this? Thank you very much. (The values are Ending.text, with step q.text being 1.)