Hi,
Like the title says, I'm trying to make a VBA to sort "all" my data based on D column(descend). I need a VBA that works on the active sheet regardless of name(always different). Also, the number of columns and rows changes every time I run the report, so I cannot have a specific range.
Basically the same thing that would happen if I clicked on any cell on the new Data, clicked filter, clicked the arrow on D column and clicked largest to smallest. "All" data changes based on D column.
Also, I'd appreciate it a lot if you could give me the same VBA, but if I wanted to have multiple sort criteria like D column descend and then F column Descend. Just like a "custom sort with 2 levels". I don't need it right now, but I will in a few weeks.
Thank you so much in advance!
Like the title says, I'm trying to make a VBA to sort "all" my data based on D column(descend). I need a VBA that works on the active sheet regardless of name(always different). Also, the number of columns and rows changes every time I run the report, so I cannot have a specific range.
Basically the same thing that would happen if I clicked on any cell on the new Data, clicked filter, clicked the arrow on D column and clicked largest to smallest. "All" data changes based on D column.
Also, I'd appreciate it a lot if you could give me the same VBA, but if I wanted to have multiple sort criteria like D column descend and then F column Descend. Just like a "custom sort with 2 levels". I don't need it right now, but I will in a few weeks.
Thank you so much in advance!