Excel Data:-
[TABLE="class: grid, width: 180, align: left"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Data B
[/TD]
[TD]Data C[/TD]
[/TR]
[TR]
[TD]Xya[/TD]
[TD]Dsa[/TD]
[TD]Hta[/TD]
[/TR]
[TR]
[TD]Hya[/TD]
[TD]Jsa[/TD]
[TD]Rtf[/TD]
[/TR]
</tbody>[/TABLE]
Word Output:-
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Xya[/TD]
[/TR]
[TR]
[TD]Data B[/TD]
[TD]Dsa[/TD]
[/TR]
[TR]
[TD]Data C[/TD]
[TD]Hta[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Hya[/TD]
[/TR]
[TR]
[TD]Data B
[/TD]
[TD]Jsa[/TD]
[/TR]
[TR]
[TD]Data C[/TD]
[TD]Rtf[/TD]
[/TR]
</tbody>[/TABLE]
I have illustrated my question with an example. My source data is the excel table (the first table) that has data in a specific format with three columns and three rows. The first row is the heading row for the data in the corresponding columns. For the data in each row, I want to create separate tables in word document as illustrated in the "Word Output". I want to create the word output without any need to open the word application manually. Also the headings in the word document would get a specific font/ color as indicated by the red color in this example (If possible, the cells in the word output would get background fill for the headings "Data A", "Data B", "Data C"). Can I get some idea ?
[TABLE="class: grid, width: 180, align: left"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Data B
[/TD]
[TD]Data C[/TD]
[/TR]
[TR]
[TD]Xya[/TD]
[TD]Dsa[/TD]
[TD]Hta[/TD]
[/TR]
[TR]
[TD]Hya[/TD]
[TD]Jsa[/TD]
[TD]Rtf[/TD]
[/TR]
</tbody>[/TABLE]
Word Output:-
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Xya[/TD]
[/TR]
[TR]
[TD]Data B[/TD]
[TD]Dsa[/TD]
[/TR]
[TR]
[TD]Data C[/TD]
[TD]Hta[/TD]
[/TR]
</tbody>[/TABLE]
[TABLE="class: grid, width: 500"]
<tbody>[TR]
[TD]Data A[/TD]
[TD]Hya[/TD]
[/TR]
[TR]
[TD]Data B
[/TD]
[TD]Jsa[/TD]
[/TR]
[TR]
[TD]Data C[/TD]
[TD]Rtf[/TD]
[/TR]
</tbody>[/TABLE]
I have illustrated my question with an example. My source data is the excel table (the first table) that has data in a specific format with three columns and three rows. The first row is the heading row for the data in the corresponding columns. For the data in each row, I want to create separate tables in word document as illustrated in the "Word Output". I want to create the word output without any need to open the word application manually. Also the headings in the word document would get a specific font/ color as indicated by the red color in this example (If possible, the cells in the word output would get background fill for the headings "Data A", "Data B", "Data C"). Can I get some idea ?
Last edited: