+ Reply to Thread
Results 1 to 3 of 3

Problem importing a CSV into Excel with Line Breaks

  1. #1
    Registered User
    Join Date
    04-01-2009
    Location
    St. Louis
    MS-Off Ver
    Excel 2003
    Posts
    2

    Problem importing a CSV into Excel with Line Breaks

    This is a little convoluted, so forgive me if I take this step-by-step.

    I have a large database of information that I have gotten a CSV file for.

    In that file there are leading zeros, so I have to import the CSV file so I can tell it to import as text.

    That file also contains some data fields that contain line-breaks of some sort. I am not sure what kind.

    When I sure the import function, I believe EXCEL is seeing the breaks as 'row-deliminators' and breaking up the data at 'bad' points.

    If I just Open the file directly, I do not have the problem with line breaks (all rows line up properly) BUT then I lose my leading zeros.

    PLEASE can someone tell me if there is a way to do both these things: Import data with leading zeros, and properly have the rows break?

    (The CSV is comma deliminated with " as a text delimiter)

    Thank you in advance for any help you can provide.

  2. #2
    Forum Expert
    Join Date
    12-23-2006
    Location
    germany
    MS-Off Ver
    XL2003 / 2007 / 2010
    Posts
    6,326

    Re: Problem importing a CSV into Excel with Line Breaks

    Hi and welcome to the board
    In the message that follows replace "workbook" with CSV file ;-)

    To best describe or illustrate your problem you would be better off attaching a dummy workbook, the workbook should contain the same structure and some dummy data of the same type as the type you have in your real workbook - so, if a cell contains numbers & letters in this format abc-123 then that should be reflected in the dummy workbook.

    If needed supply a before and after sheet in the workbook so the person helping you can see what you are trying to achieve.

    Doing this will ensure you get the result you need!

  3. #3
    Registered User
    Join Date
    04-01-2009
    Location
    St. Louis
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Problem importing a CSV into Excel with Line Breaks

    I'm a little hesitant to do so, since the file is a product database for a retail establishment that contains data the company would not want to put out on the internet.

    Maybe someone has encountered this problem before and can help with the example?

+ 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