I need a vba excel macro to transpose multiple columns in to rows. some times i have 2 clolumns that need transposing, and sometimes i have 10 columnns or 5 or 6 columns, so the columns varies.
eg:
before transpose
any ideas?
many thanks
outblue
eg:
before transpose
Code:
id crs mark date
11111 eng 100 2010
11111 math 100 2011
11111 sci 100 2012
11111 comp 100 2013
22222 sci 100 2012
33333 comp 100 2013
after transposing:
id crs_1 mark date crs_2 mark date crs_3 mark date crs_4 mark date
11111 eng 100 2010 math 100 2011 sci 100 2012 comp 100 2013
22222 sci 100 2012
33333 comp 100 2013
any ideas?
many thanks
outblue