Please see red notes in the code below for the error message. I'm stumped. I copied most of this from another macro that I'm pretty sure works. Please help.
Also, my coding for sorting is basically just a slight improvement on the macro recorder output. If anyone can point out a more...