Quantcast
Channel: Excel Help Forum - Excel Programming / VBA / Macros
Viewing all articles
Browse latest Browse all 50151

Macro to sort whatever columns I highlight

$
0
0
I have a spreadsheet that has columns I need to highlight and sort. The number of columns changes, but always starts with column H. I want to make a Macro that will sort whatever columns I've highlight no matter how many I've chosen.

For example, the first time sort highlighted columns H through M. The next time sort highlighted columns H through Q using the same Macro, etc.

Viewing all articles
Browse latest Browse all 50151

Trending Articles