I can't see anything here that would prevent this from working. I would be happy to look at it if you could attach your workbook. Have you tried to walk through it with the debugger to see if it's getting executed the way you think it is? For example, if you did some debugging and ended up calling
but an error occurred and you never got to the line of code setting it back to True, then that setting "sticks" and has to be reset manually by making the call in the Immediate window (or by closing and re-opening Excel).
I do have a couple of suggestions. First, using strings for arithmetic is not a particularly good practice. I would use the form below:
Second, your test for what cell is changing is lengthier than necessary to check for a single cell, here is one alternative. The bracketed expression [x] is equivalent to
Range("x")
This is really more for readability than anything else and is a matter of personal taste, just wanted to offer it:
Bookmarks