As written, it needs to go in the Sheet module.
I did. [forgot to mention that]
I don't want to patronise you, of course, but are you sure?
Right-click sheet tab and select View code - paste in there.

Tested befor posting and worked beautifully IMHO