Z
zrs
Hi all,
I have an excel sheet of 12000 rows of datas and I need to concetenate
the datas in each 2 rows into 1 row with fixed size and delete the
previous ones if possible or to create a new sheet with the
concatenated datas to the same workbook.
Eg:
Before
A B C D E ...
1 Data1 Data2 Data3 Data4 Data5
2 Data6 Data7 Data8 Data9 Data10
3 Data11 Data12 Data13 Data14 Data15
4 Data16 Data17 Data18 Data19 Data20
5 Data21 Data22 Data23 Data24 Data25
6 Data26 Data27 Data28 Data29 Data30
After
A B C D E F
G H I J
1 Data1 Data2 Data3 Data4 Data5 Data6 Data7
Data8 Data9 Data10 (Row 1 & 2 concatenated)
2 Data11 Data12 Data13 Data14 Data15 Data16 Data17 Data18
Data19 Data20 (Row 3 & 4 concatenated)
3 Data21 Data22 Data23 Data24 Data25 Data26 Data27 Data28
Data29 Data30 (Row 5 & 6 concatenated)
Hope a macro can select each 2 rows to concatenate one by one and can
work for whole sheet.
Any ideas would be greatly appreciated. Thanks...
Reha
I have an excel sheet of 12000 rows of datas and I need to concetenate
the datas in each 2 rows into 1 row with fixed size and delete the
previous ones if possible or to create a new sheet with the
concatenated datas to the same workbook.
Eg:
Before
A B C D E ...
1 Data1 Data2 Data3 Data4 Data5
2 Data6 Data7 Data8 Data9 Data10
3 Data11 Data12 Data13 Data14 Data15
4 Data16 Data17 Data18 Data19 Data20
5 Data21 Data22 Data23 Data24 Data25
6 Data26 Data27 Data28 Data29 Data30
After
A B C D E F
G H I J
1 Data1 Data2 Data3 Data4 Data5 Data6 Data7
Data8 Data9 Data10 (Row 1 & 2 concatenated)
2 Data11 Data12 Data13 Data14 Data15 Data16 Data17 Data18
Data19 Data20 (Row 3 & 4 concatenated)
3 Data21 Data22 Data23 Data24 Data25 Data26 Data27 Data28
Data29 Data30 (Row 5 & 6 concatenated)
Hope a macro can select each 2 rows to concatenate one by one and can
work for whole sheet.
Any ideas would be greatly appreciated. Thanks...
Reha