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