I’m not quite sure how to explain this but here it goes.
I have a question on "Exist Sub". I added an Exit Sub line to my code as a test to halt the process at a certain point. However, I noticed that after triggering the Exit Sub, all future routines are also halted; not just the action in question. All I wanted to do was stop the process of that portion of the routine. In order for other “Change” actions to be triggered I have to close the worksheet and reopen it. Is it possible to “reset” the process after triggering an Exit Sub command?
The problem may be that the processes I am exiting are in the either the WorksheetChange or the WorksheetSelectionChange subroutine. Is there a way to simply stop the current process yet leave all future operations function as is? I was thinking something like GoTo but I was unsuccessful doing so (I assume I did something wrong).
I don't expect a specific answer to my situation but maybe point me to some other resource.
Thanks,
Steve
I have a question on "Exist Sub". I added an Exit Sub line to my code as a test to halt the process at a certain point. However, I noticed that after triggering the Exit Sub, all future routines are also halted; not just the action in question. All I wanted to do was stop the process of that portion of the routine. In order for other “Change” actions to be triggered I have to close the worksheet and reopen it. Is it possible to “reset” the process after triggering an Exit Sub command?
The problem may be that the processes I am exiting are in the either the WorksheetChange or the WorksheetSelectionChange subroutine. Is there a way to simply stop the current process yet leave all future operations function as is? I was thinking something like GoTo but I was unsuccessful doing so (I assume I did something wrong).
I don't expect a specific answer to my situation but maybe point me to some other resource.
Thanks,
Steve