Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
tong
 
Posts: n/a
Default How to use the exact format in a csv file when opening a csv file

As captioned, in my .csv file, Field A is 02, Field B is 1.2%, Field C is
0.0, but after open in Excel, Field A becomes 2, Field B becomes 1.20%, Field
C becomes 0.
How to prevent Excel change the value format when opening a csv file?

Thx!!
  #2   Report Post  
Dave Peterson
 
Posts: n/a
Default

I don't think you can.

But if you rename the file from *.csv to *.txt, you can specify each field in
the data import wizard. That way you could treat the 02 as text (not numeric).

But the 1.2% will come in the way excel likes.

A more common approach would be to just format the cells the way you want after
you import the data.



tong wrote:

As captioned, in my .csv file, Field A is 02, Field B is 1.2%, Field C is
0.0, but after open in Excel, Field A becomes 2, Field B becomes 1.20%, Field
C becomes 0.
How to prevent Excel change the value format when opening a csv file?

Thx!!


--

Dave Peterson
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
Format of CSV File in export [email protected] Excel Discussion (Misc queries) 4 September 8th 05 07:34 PM
How do you open a template at startup? James Kendall Excel Discussion (Misc queries) 7 July 26th 05 07:33 PM
file format needs to be changed okjuns Excel Discussion (Misc queries) 2 June 14th 05 05:31 PM
how to format and print labels from an excel file DDAANN Excel Discussion (Misc queries) 2 April 12th 05 06:12 PM
Weekly Transaction Processing Ralph Howarth Excel Worksheet Functions 4 January 19th 05 05:37 AM


All times are GMT +1. The time now is 01:45 AM.

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"