Can you please help.
I have a macro that connects to my SQL database and have a select statement to import some data into the excel sheet (Columns "M" to "BF").
Number of rows are different.
Is there any way (macro code) that can sort the data as in my sample sheet.
A25 = M2, B25 = N2, C25 =O2, C26 = P2, C27 = Q2.....
A33 = M3, B33 = N3, C33 =O3, C34 = P3, C35 = Q3.....
A41 = M4, B41 = N4, C41 =O4,C42 = P4, C43 = Q4.....
Your help is appreciated.