wow watersev, that seems to work like a charm

I'm trying to learn vba and the code is so short - would you be willing to describe how that works?

very impressed with how compact that is


also thank you antoka for your post