+ Reply to Thread
Results 1 to 2 of 2

How to use the exact format in a csv file when opening a csv file

Hybrid View

  1. #1
    tong
    Guest

    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. #2
    Dave Peterson
    Guest

    Re: How to use the exact format in a csv file when opening a csv file

    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 to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1