OK, I think I have a good idea what may be happening.
Do you understand what this line does?
VBA Code:
Application.EnableEvents = False
This line temporarily disable events (like "Worksheet_Change") from firing.
Why would we want to use this?
Well, Worksheet_Change code is code that automatically runs when we update a cell.
But what if the VBA code inside of our Worksheet_Change procedure updates cells?
Then the code will call itself! If you are not careful, in some cases you can get caught up in and infinite loop, and your code will never stop and your Excel will freeze up!
So what we often do it temporarily disable events while the code makes cell updates so as not to trigger itself to run again.
Then, we usually turn it back on after the changes with the line of code:
VBA Code:
Application.EnableEvents = True
However, what sometimes happens is in your testing, you get an error in the middle of your code, after the "...=False" line has run but before the "...=True" line has run.
In that case, events have been disabled and the code will not automatically run until you re-enable it.
There are two ways to do that:
1. Close Excel and re-open it to reset those settings
2. Run the following procedure manually
VBA Code:
Sub ReEnableEvents()
Application.EnableEvents = True
End Sub
Either one will re-enable the code to run again.