Neel_07ee55
New Member
- Joined
- Sep 21, 2016
- Messages
- 2
Hello All,
Below is my input table:
[TABLE="class: grid, width: 301, align: left"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Compound Folder Name[/TD]
[TD]File name[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]a.pdf[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]b.dwg[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]c.pdf[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]d.xyz[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]a1.pdf[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]b1.dwg[/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]a2.pdf[/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]b2.dwg
[/TD]
[/TR]
</tbody>[/TABLE]
I want result as stated below:
[TABLE="class: grid, width: 526"]
<colgroup><col><col><col span="3"></colgroup><tbody>[TR]
[TD]Compound Folder Name[/TD]
[TD]File name1[/TD]
[TD]File name2[/TD]
[TD]File name3[/TD]
[TD]File name4[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]a.pdf[/TD]
[TD]b.dwg[/TD]
[TD]c.pdf[/TD]
[TD]d.xyz[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]a1.pdf[/TD]
[TD]b1.dwg[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]a2.pdf[/TD]
[TD]b2.dwg[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Note:
Count of "Compound Folder Name"/"File Name" may vary.
Kindly provide macro/VBA program for the same.
Thank you & Regards,
Neelkumar Solanki
Electrical Engineer
India
Below is my input table:
[TABLE="class: grid, width: 301, align: left"]
<colgroup><col><col></colgroup><tbody>[TR]
[TD]Compound Folder Name[/TD]
[TD]File name[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]a.pdf[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]b.dwg[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]c.pdf[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]d.xyz[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]a1.pdf[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]b1.dwg[/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]a2.pdf[/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]b2.dwg
[/TD]
[/TR]
</tbody>[/TABLE]
I want result as stated below:
[TABLE="class: grid, width: 526"]
<colgroup><col><col><col span="3"></colgroup><tbody>[TR]
[TD]Compound Folder Name[/TD]
[TD]File name1[/TD]
[TD]File name2[/TD]
[TD]File name3[/TD]
[TD]File name4[/TD]
[/TR]
[TR]
[TD]electrical documents[/TD]
[TD]a.pdf[/TD]
[TD]b.dwg[/TD]
[TD]c.pdf[/TD]
[TD]d.xyz[/TD]
[/TR]
[TR]
[TD]mechanical documents[/TD]
[TD]a1.pdf[/TD]
[TD]b1.dwg[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
[TR]
[TD]instrumentation documents[/TD]
[TD]a2.pdf[/TD]
[TD]b2.dwg[/TD]
[TD][/TD]
[TD][/TD]
[/TR]
</tbody>[/TABLE]
Note:
Count of "Compound Folder Name"/"File Name" may vary.
Kindly provide macro/VBA program for the same.
Thank you & Regards,
Neelkumar Solanki
Electrical Engineer
India