Hi Could someone advise on how you can export each column to an individual csc or tab file using the header as the file name please.
i.e.
[TABLE="width: 377"]
<tbody>[TR]
[TD]Street 1[/TD]
[TD]Street 2[/TD]
[TD]Street 3[/TD]
[/TR]
[TR]
[TD]1 [/TD]
[TD]1C [/TD]
[TD]1 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]2 [/TD]
[TD]3 [/TD]
[TD]2 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[TD]5 [/TD]
[TD]3 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]4 [/TD]
[TD]7 [/TD]
[TD]4 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[TD]9 [/TD]
[TD]5 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]6 [/TD]
[TD]11 [/TD]
[TD]6 MOORGROVE HOUSE [/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
Exported to these files
Filename = Street 1.txt or .csv
File contents:[TABLE="width: 88"]
<tbody>[TR]
[TD]1 [/TD]
[/TR]
[TR]
[TD]2 [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[/TR]
[TR]
[TD]4 [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[/TR]
[TR]
[TD]6 [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
File name = Street 2.txt
File contents:
[TABLE="width: 131"]
<tbody>[TR]
[TD]1C [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[/TR]
[TR]
[TD]7 [/TD]
[/TR]
[TR]
[TD]9 [/TD]
[/TR]
[TR]
[TD]11 [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
File name = Street 3.txt
[TABLE="width: 158"]
<tbody>[TR]
[TD]1 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]2 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]3 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]4 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]5 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]6 MOORGROVE HOUSE [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
i.e.
[TABLE="width: 377"]
<tbody>[TR]
[TD]Street 1[/TD]
[TD]Street 2[/TD]
[TD]Street 3[/TD]
[/TR]
[TR]
[TD]1 [/TD]
[TD]1C [/TD]
[TD]1 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]2 [/TD]
[TD]3 [/TD]
[TD]2 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[TD]5 [/TD]
[TD]3 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]4 [/TD]
[TD]7 [/TD]
[TD]4 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[TD]9 [/TD]
[TD]5 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]6 [/TD]
[TD]11 [/TD]
[TD]6 MOORGROVE HOUSE [/TD]
[/TR]
</tbody><colgroup><col><col><col></colgroup>[/TABLE]
Exported to these files
Filename = Street 1.txt or .csv
File contents:[TABLE="width: 88"]
<tbody>[TR]
[TD]1 [/TD]
[/TR]
[TR]
[TD]2 [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[/TR]
[TR]
[TD]4 [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[/TR]
[TR]
[TD]6 [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
File name = Street 2.txt
File contents:
[TABLE="width: 131"]
<tbody>[TR]
[TD]1C [/TD]
[/TR]
[TR]
[TD]3 [/TD]
[/TR]
[TR]
[TD]5 [/TD]
[/TR]
[TR]
[TD]7 [/TD]
[/TR]
[TR]
[TD]9 [/TD]
[/TR]
[TR]
[TD]11 [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]
File name = Street 3.txt
[TABLE="width: 158"]
<tbody>[TR]
[TD]1 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]2 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]3 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]4 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]5 MOORGROVE HOUSE [/TD]
[/TR]
[TR]
[TD]6 MOORGROVE HOUSE [/TD]
[/TR]
</tbody><colgroup><col></colgroup>[/TABLE]