![]() |
For next loop suddenly not working, any ideas?
I have a for x = 1 to 50 construct running, but for some explicable reason it is suddenly ignoring the upper limit and just carrying on past it which wrecks the code, any ideas what could cause this to happen?
Am turning in now so wont be able to respond until tomorrow with any more info but any suggestions gratefully accepted as it is rather mystifying! Thanks, Mark |
For next loop suddenly not working, any ideas?
Hi Mark,
Am Wed, 22 Oct 2014 10:05:37 -0700 (PDT) schrieb Mark Stephens: I have a for x = 1 to 50 construct running, but for some explicable reason it is suddenly ignoring the upper limit and just carrying on past it which wrecks the code, any ideas what could cause this to happen? please show us your code Regards Claus B. -- Vista Ultimate / Windows7 Office 2007 Ultimate / 2010 Professional |
For next loop suddenly not working, any ideas?
Hi Claus, that's unfortunately not practical as there's an awful lot of it, with lots of sub routines branching off the main code. If it is running fine between the for next loop then I don't really see how it could be the culprit, it just does not stop looping at the specified next.
M. |
For next loop suddenly not working, any ideas?
On Thursday, 23 October 2014 01:05:44 UTC+8, Mark Stephens wrote:
I have a for x = 1 to 50 construct running, but for some explicable reason it is suddenly ignoring the upper limit and just carrying on past it which wrecks the code, any ideas what could cause this to happen? Am turning in now so wont be able to respond until tomorrow with any more info but any suggestions gratefully accepted as it is rather mystifying! Thanks, Mark Tanks for your help I've solved the issue it was a stupid error (as usual!) |
All times are GMT +1. The time now is 02:54 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com