Convert Excel to ASCII format file

59 views
Skip to first unread message

Irosha Waas

unread,
Jul 12, 2007, 11:20:20 PM7/12/07
to sli...@googlegroups.com
Dear Friends,
 
There is a file in Excel sheet. I want to convert it in to an ASCII file.
Can some one tell me how to convert Excel file in to ASCII format file?
 
Appreciate ur early reply
 
Thanks in advance
Irosha

Keerthi Siriwardhana

unread,
Jul 12, 2007, 11:45:25 PM7/12/07
to sli...@googlegroups.com
Simply Save it as Text File

File -> Save As   -----> Select "Text" to 'Save as Type' Combo box

Keerthi

Irosha Waas

unread,
Jul 12, 2007, 11:58:35 PM7/12/07
to sli...@googlegroups.com
I did so. But there are specific lengths for each field.
Ex : Name length 30.If the actual name is less than 30 characters do i have to leave spaces manually?
 
Tx and Regards
Irosha

 

Keerthi Siriwardhana

unread,
Jul 13, 2007, 12:10:11 AM7/13/07
to sli...@googlegroups.com
If so, you have to select "Formatted Text (Space delimited)", this will create a prn, file but it  also a text file.

Mohamed Shafraz

unread,
Jul 13, 2007, 12:22:15 AM7/13/07
to sli...@googlegroups.com

http://www.javaworld.com/javaworld/jw-03-2004/jw-0322-poi.html

Try this. I think this will work.


On 7/13/07, Keerthi Siriwardhana <rkke...@gmail.com> wrote:
If so, you have to select "Formatted Text (Space delimited)", this will create a prn, file but it  also a text file.


Keerthi


On 7/13/07, Irosha Waas <irosh...@gmail.com> wrote:
I did so. But there are specific lengths for each field.
Ex : Name length 30.If the actual name is less than 30 characters do i have to leave spaces manually?
 
Tx and Regards
Irosha

 
On 7/13/07, Keerthi Siriwardhana <rkke...@gmail.com > wrote:
Simply Save it as Text File

File -> Save As   -----> Select "Text" to 'Save as Type' Combo box

Keerthi










On 7/13/07, Irosha Waas <irosh...@gmail.com > wrote:
Dear Friends,
 
There is a file in Excel sheet. I want to convert it in to an ASCII file.
Can some one tell me how to convert Excel file in to ASCII format file?
 
Appreciate ur early reply
 
Thanks in advance
Irosha














--
Thanks & Regards
Shafraz
---Be a man with a heart---

Irosha Waas

unread,
Jul 13, 2007, 5:59:02 AM7/13/07
to sli...@googlegroups.com
Hi,
 
Thanks for the help.
 
Irosha

 

Irosha Waas

unread,
Jul 16, 2007, 5:20:41 AM7/16/07
to sli...@googlegroups.com
Dear Friends,
 
Refering to my quary reagrding excel and ASCII file....
I managed to creat a prn file with ur guidance. Now my prob is that in the txt file each line should get ended with 30 spaces.How to get that done.
 
Thanks in advance.
Irosha
 
Reply all
Reply to author
Forward
0 new messages