NEELKUMAR_SOLANKI
New Member
- Joined
- Jan 16, 2016
- Messages
- 1
Data which i am having is as follows:
[TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody></tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Name[/TD]
[TD="align: center"]Data[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]2,3,4,5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]3,4,5,6,7,8,9[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]5,6,7,8,9[/TD]
[/TR]
</tbody>[/TABLE]
Required Result Should look like following:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Name[/TD]
[TD="align: center"]Data[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
How can i Create Relevant Macro to have this Result ?
[TABLE="width: 144"]
<colgroup><col><col></colgroup><tbody></tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Name[/TD]
[TD="align: center"]Data[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]2,3,4,5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]3,4,5,6,7,8,9[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]5,6,7,8,9[/TD]
[/TR]
</tbody>[/TABLE]
Required Result Should look like following:
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD="align: center"]Name[/TD]
[TD="align: center"]Data[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]2[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]abc[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]3[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]4[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]pqr[/TD]
[TD]9[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]5[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]6[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]7[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]8[/TD]
[/TR]
[TR]
[TD]xyz[/TD]
[TD]9[/TD]
[/TR]
</tbody>[/TABLE]
How can i Create Relevant Macro to have this Result ?