r/visualbasic • • Oct 20 '16

Reasoning behind backwards loop

I am running some code to look through our bank and match it to our accounting, and i am using a for i=m to 1...next loop - step -1. When i change it to go forward ( step+1) it messes everything up. I've seen this before, but why?

5 Upvotes

4 comments sorted by

View all comments

1

u/tweq Oct 20 '16

Impossible to answer without source and more context. "it messes everything up" is completely meaningless.