I am using a straight forward For Next Loop which operates perfectly when I write
However when I change this to
(where numOfDigits = 8 at this point in the code)
I am getting an error message saying 'overflow' at the For... line of execution.
Anybody know why?? Help gratefully received.
Deekay
Code:
For n = 1 to numOfDigits 'do something Next
Code:
For n = numOfDigits to 1 Step -1 'do the same thing as before NEXT
I am getting an error message saying 'overflow' at the For... line of execution.
Anybody know why?? Help gratefully received.
Deekay
Comment