penfold1992
Registered User.
- Local time
- Today, 04:24
- Joined
- Nov 22, 2012
- Messages
- 169
I am trying to create a sort of "Batch record creator"
the code works for an individual value but when I try to loop it, it fails...
the code is long and I dont want to post all of it but the "looping" part is this...
The problem I occur is:
"Next without For"
but the Next i is definatly there... and the For is also there...
anyone know what the reason is for this to fail?
the code works for an individual value but when I try to loop it, it fails...
the code is long and I dont want to post all of it but the "looping" part is this...
Code:
For i = 1 To BatchNo.Value
(a chunk of code)
Next i
"Next without For"
but the Next i is definatly there... and the For is also there...
anyone know what the reason is for this to fail?