+ Reply to Thread
Results 1 to 3 of 3

Formatting issue with dates

  1. #1
    Registered User
    Join Date
    01-22-2009
    Location
    Canterbury, England
    MS-Off Ver
    Excel 2007
    Posts
    2

    Formatting issue with dates

    Hi there

    having a problem with formatting
    column E
    this column contains dates(and times) when i open the csv file.
    these date's are changed to five digit numbers if i manually edit the format.

    but when i run the macro the highlighted line does not change this column(it does change every other column).
    the cells in this column become text such as 21.10.2008 15:56.
    which is then an issue as i need to filter them when they are number and ultimatly group them in a pivot table.

    i recorded the macro from what i was doing and then ran it.
    it does work when it is in the module for the vehicle event report.csv

    but when run from the other file(as shown below) it encounters this problem.

    please help
    I usually fix my own code but this has really stumped me.

    thanks
    Ash
    Please Login or Register  to view this content.
    Last edited by ashw1984; 01-23-2009 at 05:00 AM.

  2. #2
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Where there is a will there are many ways.

    If you are happy with the results, please add to the contributor's reputation by clicking the reputation icon (star icon) below left corner

    Please also mark the thread as Solved once it is solved. Check the FAQ's to see how.

  3. #3
    Forum Expert NBVC's Avatar
    Join Date
    12-06-2006
    Location
    Mississauga, CANADA
    MS-Off Ver
    2003:2010
    Posts
    34,898
    Your post does not comply with Rule 5 of our Forum RULES. We have Seven question forums: Miscellaneous, General, Programming, Worksheet Functions, Charting, Excel 2007 Help and New Users. Please choose the appropriate forum, and post your question in ONLY one forum.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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