[VBA] Sort an Excel array

Solved
Doudou95 Posted messages 1897 Registration date   Status Member Last intervention   -  
Doudou95 Posted messages 1897 Registration date   Status Member Last intervention   -
Hello,

I am once again calling on your talents.

I would like to sort an entire Excel table based on column AC first and then D (D + AC), knowing that the first row of the table corresponds to the headers of the table.

Thank you for your help
Configuration: Windows XP Internet Explorer 8.0

3 answers

zavenger Posted messages 817 Status Member 161
 
Hello,

since it's a simple sort, the sort function in the data menu should do the trick.

Now, if you want to make it a macro, the record a macro function will give you a good starting point.
0