Difficult to comment, impossible to test ... the Control Panel worksheet is not present and half (?) the code is missing. It's difficult to see the flow because of the repetition of sheet names and the poor indentation. As presented, the VBA Project will not compile.
Due to the missing code, it is not possible to determine where cell values have been changed which would bring the loop to a termination.
Stepping through the code using F8 does not mean it will come to a natural conclusion. You compare (AND) ten pairs of cells to bring the loop to an end. What are the chances that one of those conditions is not met? I suspect pretty high.
I would suggest that you put Debug.Print statements in various places to determine a) how many times you are going through the loop, b) what the values of the variables are, and whether or not each of the conditions is met.
I would also build in a "get out of jail clause". That's simply a counter that you increment and test each time you go through the loop. When it reaches an arbitrary limit (100, 1,000, 10,000, whatever), you exit the loop, perhaps with a warning message.
Note that generic code, such as the LightOutputRedDec module should NOT be in a sheet class module, it should be in a standard module.
Slightly modified code:
Regards, TMS
Bookmarks