So it is a good practice to do application.enableevents before each cell which can be triggered (each line of code) and after it just turn on this?
Pretty much, yes. However, if possible, you would be better off referring to the Target cell rather than specific cells
And how to address only specific range to be triggered like B11:B30?
You already have the right construct:
Note that a Change Event handler, if in place, will fire for every change. It's more a case of limiting how much work it needs to do when it is fired.
This is the solution to a recent thread. Notice that quite a few checks, lookups and calculations are done before event handling is switched off. The "range of interest" is more complex in this example.
Bookmarks