+ Reply to Thread
Results 1 to 4 of 4

.csv drops "0" when saved, even if file was set as "text".

  1. #1
    TRminator
    Guest

    .csv drops "0" when saved, even if file was set as "text".

    Hi. I need to save files as .csv for importing Product Codes into my
    purchasing system. My problem is that, even if I change the relevant column
    to "TEXT", after saving the file as a .csv the "0" or even sometimes "00"
    that appear at the beginning of many of the product code is being dropped by
    Excell when the file is reopened.

    Any thoughts on how I can solve this issue?

  2. #2
    David Biddulph
    Guest

    Re: .csv drops "0" when saved, even if file was set as "text".

    "TRminator" <[email protected]> wrote in message
    news:[email protected]...
    > Hi. I need to save files as .csv for importing Product Codes into my
    > purchasing system. My problem is that, even if I change the relevant

    column
    > to "TEXT", after saving the file as a .csv the "0" or even sometimes "00"
    > that appear at the beginning of many of the product code is being dropped

    by
    > Excell when the file is reopened.
    >
    > Any thoughts on how I can solve this issue?


    Change the file name to txt rather than csv, & when you read in through the
    import wizard, set the relevant columns to format as "Text".
    --
    David Biddulph



  3. #3
    Dave Peterson
    Guest

    Re: .csv drops "0" when saved, even if file was set as "text".

    If you don't need to reimport that data back into excel (say you're just
    verifying that the creation of the .csv file worked), then you could use Notepad
    to do that verification.

    You'll see the leading 0's in that .csv text file.

    TRminator wrote:
    >
    > Hi. I need to save files as .csv for importing Product Codes into my
    > purchasing system. My problem is that, even if I change the relevant column
    > to "TEXT", after saving the file as a .csv the "0" or even sometimes "00"
    > that appear at the beginning of many of the product code is being dropped by
    > Excell when the file is reopened.
    >
    > Any thoughts on how I can solve this issue?


    --

    Dave Peterson

  4. #4
    TRminator
    Guest

    Re: .csv drops "0" when saved, even if file was set as "text".

    Hi David.

    I experimented with a few lines from the main record. When I open the .txt
    file to view it the "0" have been dropped there as well. Please note also
    that I am dealing with 29,000 lines (too big for a .txt file?) and that I'm
    exporting from excel/windows and importing into my system, not the other way
    around so i don't get to use the Wizard. thanks for taking the time out to
    try and help though David, I really do appreciate it.

    "David Biddulph" wrote:

    > "TRminator" <[email protected]> wrote in message
    > news:[email protected]...
    > > Hi. I need to save files as .csv for importing Product Codes into my
    > > purchasing system. My problem is that, even if I change the relevant

    > column
    > > to "TEXT", after saving the file as a .csv the "0" or even sometimes "00"
    > > that appear at the beginning of many of the product code is being dropped

    > by
    > > Excell when the file is reopened.
    > >
    > > Any thoughts on how I can solve this issue?

    >
    > Change the file name to txt rather than csv, & when you read in through the
    > import wizard, set the relevant columns to format as "Text".
    > --
    > David Biddulph
    >
    >
    >


+ 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