+ Reply to Thread
Results 1 to 3 of 3

Problem with Ymport of CSV file using "From Text"

  1. #1
    Registered User
    Join Date
    12-18-2011
    Location
    Leamington Spa, England
    MS-Off Ver
    Excel 2007
    Posts
    20

    Problem with Ymport of CSV file using "From Text"

    Importing a CSV file using the "From Text" wizard I have 2 problems. Most of the data is text but there are some all numeric enties which give me problems.
    1. ,082081, is imported as 82081 dropping the leading zero
    2. ,12345678912356789, is imported as 12345678912356700

    I've tried setting "Column Data Format" to text in the wizard and tried formatting the destination cells to text before running the wizard but neither cures the problem, I've attached a small CSV file with the problem data.
    CSVTest.csv


    Can someone set me right please?

  2. #2
    Administrator FDibbins's Avatar
    Join Date
    12-29-2011
    Location
    Duncansville, PA USA
    MS-Off Ver
    Excel 7/10/13/16/365 (PC ver 2310)
    Posts
    52,936

    Re: Problem with Ymport of CSV file using "From Text"

    For any-one else working on this, this is the data in the sample file (saved, and then opened in notepad)...


    ,Member Name:,Total Run Time (y:d:h:m:s):
    ,tenfourty,0:001:10:34:25
    ,superraven0610,0:001:10:30:40
    ,022a,0:001:10:26:05
    ,12345678912356789,0:001:06:44:48
    ,082081,0:001:10:26:05
    1. Use code tags for VBA. [code] Your Code [/code] (or use the # button)
    2. If your question is resolved, mark it SOLVED using the thread tools
    3. Click on the star if you think someone helped you

    Regards
    Ford

  3. #3
    Valued Forum Contributor
    Join Date
    09-25-2011
    Location
    Eastbourne, England
    MS-Off Ver
    Excel 2010
    Posts
    1,089

    Re: Problem with Ymport of CSV file using "From Text"

    hi JonnieB

    Using the data the FDibbins posted above, I managed to get it into Excel from notebook using:

    data
    from other sources
    from Microsoft Query
    <New Data Source>
    Name - (whatever)
    Driver - Microsoft AccessText Driver (*,txt, *.csv)
    etc

    Does this work for you?

    Regards
    Alastair

+ 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