It looks like I've solved the problem and the cause was not what I expected.
Up to now, when I was making adjustments to the spreadsheet, I did that in the default lay-out, in which all rows are unhidden.
Whenever I typed something in any random cell in the spreadsheet and hit enter, my selection changed to cell A8. So that made me think that the whole code fired.
However, just now I tried the same thing, only with some of the rows hidden. And it turns out that only the cell-selection changed, but the hidden rows did not get unhidden.
So it looks like I simply put
in the wrong place.
I've adjusted my original code to:
And now, when I adjust something in a random cell, nothing else happens.
Thanks again for thinking along.
Bookmarks