#1   Report Post  
Oded Dror
 
Posts: n/a
Default Save as CSV problems

Hi there,

I'm using Excel 2003 and Windows XP Pro. SP2

I have book.xls file with names and numbers like fname lname salary

John Smith 100.00

when I save as book.csv the salary column become a text (100 in the left
side of the column)
Just the way I wanted I click ok. and close

Now when I'm reopen the book.csv file again the column salary become as a
number again
(100 in the right side of the column)

How can I fix this issue (If I save the file as a text I wanted be remain as
a text )

Thank you an advanced.

Email:




  #2   Report Post  
JE McGimpsey
 
Posts: n/a
Default

In a .csv file everything is saved as text, and remains as text.

If you're importing the text file back into XL, and you want XL to
interpret the field as text rather than a number you can use the
Data/Get External Data/Import Text File... wizard (with WinXL, you'll
have to change the extension from .csv to .txt) to designate the field
as text rather than General.


In article ,
"Oded Dror" wrote:

Hi there,

I'm using Excel 2003 and Windows XP Pro. SP2

I have book.xls file with names and numbers like fname lname salary

John Smith 100.00

when I save as book.csv the salary column become a text (100 in the left
side of the column)
Just the way I wanted I click ok. and close

Now when I'm reopen the book.csv file again the column salary become as a
number again
(100 in the right side of the column)

How can I fix this issue (If I save the file as a text I wanted be remain as
a text )

Thank you an advanced.

Email:

  #3   Report Post  
Earl Kiosterud
 
Posts: n/a
Default

Oded,

Everything saved in a csv is text characters. There's no indication of text
or numbers or anything. It's Excel that's interpreting it as a number ("it
looks like a number, so it must be a number."). You can change the file
extension from .csv to .txt. Now when you open it, it will invoke the
import wizard, where you can specify which fields are to be text.

Or if you want to read the text file into an existing worksheet, you can use
import. Details on all this at www.smokeylake.com/excel. Read "Excel and
text files."
--
Earl Kiosterud
www.smokeylake.com


"Oded Dror" wrote in message
...
Hi there,

I'm using Excel 2003 and Windows XP Pro. SP2

I have book.xls file with names and numbers like fname lname salary

John Smith 100.00

when I save as book.csv the salary column become a text (100 in the left
side of the column)
Just the way I wanted I click ok. and close

Now when I'm reopen the book.csv file again the column salary become as a
number again
(100 in the right side of the column)

How can I fix this issue (If I save the file as a text I wanted be remain
as a text )

Thank you an advanced.

Email:






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Can't save Excel using Save button, hainstol Excel Discussion (Misc queries) 1 May 3rd 05 02:39 PM
cannot edit and save jp Excel Discussion (Misc queries) 1 February 8th 05 05:12 PM
cannot edit and save jp Excel Discussion (Misc queries) 0 February 8th 05 03:27 AM
Save & Save As features in file menu of Excel Blue Excel Discussion (Misc queries) 9 December 27th 04 08:49 PM
Missing "Save" and "Save As" functions EMSchon Excel Discussion (Misc queries) 2 December 27th 04 08:01 PM


All times are GMT +1. The time now is 03:19 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"