@Philb1: yep, no problem with the code working. Just highlighting the fact that you'd defined a variable for the Activesheet but then referred to the Activesheet rather than using the variable.
And there's little point using "With Ws ... End With" if you are going to qualify all the ranges with Ws. As in:
Incidentally, in this instance, rather than use:
you can get away with
Easier to understand in this context although not so good if you're cycling through columns and wish/need to use a column number.
Not trying to be picky, though I probably am, just making you aware for future reference.
Regards, TMS
Bookmarks