in reply to Routine stopped working
Reduce your code to just half a dozen lines that show the problem when run, then show us that.