deepakgoyal2005
Board Regular
- Joined
- Sep 1, 2008
- Messages
- 58
I have an excel sheet with data like,
<TABLE dir=ltr border=1 cellSpacing=1 borderColor=#000000 cellPadding=2 width=380><TBODY><TR><TD bgColor=#c0c0c0 height=19 width="8%">
</TD></TR></TBODY></TABLE>
I want to transfer the data into a .txt file.
To do this, I save the excel file as Tab dilimited .txt file so as to maintain the alignment of data under same coulmn one below the other. But still the alignment is disturbed even after a tab is inserted between data fields.
Actual Output received:
Required Output:
Please advice.
<TABLE dir=ltr border=1 cellSpacing=1 borderColor=#000000 cellPadding=2 width=380><TBODY><TR><TD bgColor=#c0c0c0 height=19 width="8%">
</TD><TD bgColor=#c0c0c0 height=19 width="57%">A
</TD><TD bgColor=#c0c0c0 height=19 width="18%">B
</TD><TD bgColor=#c0c0c0 height=19 width="18%">C
</TD></TR><TR><TD bgColor=#c0c0c0 height=19 width="8%">1
</TD><TD height=19 width="57%">Deepak Goyal 123 345
</TD><TD height=19 width="18%">123
</TD><TD height=19 width="18%">abcd
</TD></TR><TR><TD bgColor=#c0c0c0 height=19 width="8%">2
</TD><TD height=19 width="57%">ABC
</TD><TD height=19 width="18%">456
</TD><TD height=19 width="18%">abcd
</TD></TR><TR><TD bgColor=#c0c0c0 height=19 width="8%">3
</TD><TD height=19 width="57%">Deepak
</TD><TD height=19 width="18%">789
</TD><TD height=19 width="18%">abcd</TD></TR></TBODY></TABLE>
I want to transfer the data into a .txt file.
To do this, I save the excel file as Tab dilimited .txt file so as to maintain the alignment of data under same coulmn one below the other. But still the alignment is disturbed even after a tab is inserted between data fields.
Actual Output received:
Code:
Deepak Goyal 123 345 123 abcd
ABC 456 abcd
Deepak 789 abcd
Required Output:
Code:
Deepak Goyal 123 345 123 abcd
ABC 456 abcd
Deepak 789 abcd
Please advice.