Sorry, was off this project for a few days, and just saw your post. It works perfectly, selecting either range perfectly no matter the number of columns, and I've been able to adapt it for several similar commands. Thanks so much for solving this question.
Would it be adaptable to hide columns according to a certain criteria? For example, in the range that is defined as x in your code above, let's say I don't want to sort it, but rather hide all columns where the value of the cell in Row 10 doesn't contain [R].
I had some similar code from another setting that did this. It was:
Here is my attempt to adapt your code and the other to accomplish what I mentioned above, but it doesn't quite go:
Any thoughts, or should I start a new thread?
Bookmarks