+ Reply to Thread
Results 1 to 4 of 4

CSV changing number to date

  1. #1
    Forum Contributor
    Join Date
    04-22-2015
    Location
    Scotland
    MS-Off Ver
    365
    Posts
    171

    Unhappy CSV changing number to date

    Hi forurm
    I am pulling Bill of Material from an old ERP to imort to a new one, expoting from Access to Excel to let the data load as CSV, but the products (i.e 04-2649) are changing to date format. I have tried all the obvious things like using a (') before the 0, changing to text, loading it through OpenOffice Calc but nothing works. I have done this loads of times but never had it not work using one of the processes I have mentioned, if anyone has been in this situation and got around can you please let me know what I am missing, even try unsing code 04-2649 as an example and see if it works for you.

    Many thanks
    James

  2. #2
    Forum Expert
    Join Date
    05-30-2012
    Location
    The Netherlands
    MS-Off Ver
    Office 365
    Posts
    14,987

    Re: CSV changing number to date

    have you tried put the format to general?
    Notice my main language is not English.

    I appreciate it, if you reply on my solution.

    If you are satisfied with the solution, please mark the question solved.

    You can add reputation by clicking on the star * add reputation.

  3. #3
    Forum Expert
    Join Date
    03-23-2004
    Location
    London, England
    MS-Off Ver
    Excel 2019
    Posts
    7,064

    Re: CSV changing number to date

    Inserting a ' in front of the zero produces

    '04-2649

    (Excel 2013)

    Changing the .csv content to
    ="04-2649"
    results in left justified (text) cell of

    04-2649
    Last edited by Special-K; 07-25-2016 at 06:08 AM.
    Regards
    Special-K

    Ensure you describe your problem clearly, I have little time available to solve these problems and do not appreciate numerous changes to them.

  4. #4
    Forum Contributor
    Join Date
    04-22-2015
    Location
    Scotland
    MS-Off Ver
    365
    Posts
    171

    Re: CSV changing number to date

    I should have mentioned I am using excel 2010 just incase that might have anything to do with it as it always seemed to work on 2007.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Cell keeps changing date to weird Number
    By swade730 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-12-2015, 12:54 PM
  2. Changing number to date
    By kfryar in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 04-16-2014, 08:47 PM
  3. Changing number to date time format
    By Saw-whet Owl in forum Excel General
    Replies: 6
    Last Post: 12-10-2012, 08:15 PM
  4. Changing date to week number
    By perducci in forum Excel General
    Replies: 3
    Last Post: 03-16-2012, 07:26 PM
  5. Number formats changing from Date to General
    By esj001 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 03-30-2011, 03:52 PM
  6. Replies: 1
    Last Post: 03-22-2005, 01:06 PM
  7. changing a cell from date to a number
    By mwhite in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-22-2005, 01:06 PM

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