excel_learner_vba
New Member
- Joined
- Jun 1, 2019
- Messages
- 1
[TABLE="width: 417"]
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Data looks as below[/TD]
[TD] [/TD]
[TD="colspan: 3"]want it as below[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]May 05 2019[/TD]
[TD] [/TD]
[TD]May 05 2019[/TD]
[TD]Jun 17 2019[/TD]
[TD]Aug 9 2019[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD] [/TD]
[TD]a[/TD]
[TD]e[/TD]
[TD]sg[/TD]
[/TR]
[TR]
[TD]rs[/TD]
[TD] [/TD]
[TD]rs[/TD]
[TD]a[/TD]
[TD]dgh[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD] [/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]1234[/TD]
[/TR]
[TR]
[TD][+1][/TD]
[TD] [/TD]
[TD][+1][/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Jun 17 2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]45[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Aug 9 2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]sg[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]dgh[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I am just stuck with this. Could you please give me a macro code or some other method to do this? thank you very much!
<colgroup><col><col><col><col><col></colgroup><tbody>[TR]
[TD]Data looks as below[/TD]
[TD] [/TD]
[TD="colspan: 3"]want it as below[/TD]
[/TR]
[TR]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]May 05 2019[/TD]
[TD] [/TD]
[TD]May 05 2019[/TD]
[TD]Jun 17 2019[/TD]
[TD]Aug 9 2019[/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD] [/TD]
[TD]a[/TD]
[TD]e[/TD]
[TD]sg[/TD]
[/TR]
[TR]
[TD]rs[/TD]
[TD] [/TD]
[TD]rs[/TD]
[TD]a[/TD]
[TD]dgh[/TD]
[/TR]
[TR]
[TD="align: right"]1[/TD]
[TD] [/TD]
[TD="align: right"]1[/TD]
[TD="align: right"]45[/TD]
[TD="align: right"]1234[/TD]
[/TR]
[TR]
[TD][+1][/TD]
[TD] [/TD]
[TD][+1][/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Jun 17 2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]e[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]a[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]45[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]Aug 9 2019[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]sg[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD]dgh[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
[TR]
[TD="align: right"]1234[/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[TD] [/TD]
[/TR]
</tbody>[/TABLE]
I am just stuck with this. Could you please give me a macro code or some other method to do this? thank you very much!