+ Reply to Thread
Results 1 to 6 of 6

help on vba code to change the error date format as standard format mm/dd/yyyy

  1. #1
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    help on vba code to change the error date format as standard format mm/dd/yyyy

    dear expert

    i need urgent help on vba code to correct error date format as standard format mm/dd/mmmm.

    i have set of date with time in column with improper dates in list..
    like some error
    1.dates 20 Apr 2013 13;45
    2.19 Jul 2013 ,16;00
    3.0-Jan-00 "0" or blank IF DATE IS 0 OR BLANK TAKIE CLOSE DATE
    4.some column shows time only in this take close date
    5.IF YEAR IS LESS OR GREATER THAN 2013 CHANGE AS 2013


    find the attachment you may understand....correction coniditon.
    IF TIME ONLY IN ACTIVITY START DATE TAKE CLOSE DATE
    IF DATE IS 0 OR BLANK TAKIE CLOSE DATE
    IF YEAR IS LESS OR GREATER THAN 2013 CHANGE AS 2013
    Attached Files Attached Files

  2. #2
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: help on vba code to change the error date format as standard format mm/dd/yyyy

    any experts help on this??????????

  3. #3
    Forum Expert
    Join Date
    04-22-2013
    Location
    .
    MS-Off Ver
    .
    Posts
    4,418

    Re: help on vba code to change the error date format as standard format mm/dd/yyyy

    Please Login or Register  to view this content.
    as a starting point, should get you close-ish

  4. #4
    Registered User
    Join Date
    01-15-2011
    Location
    GMT+1
    MS-Off Ver
    Excel 2003
    Posts
    7

    Re: help on vba code to change the error date format as standard format mm/dd/yyyy

    Or with a formula. Check column E, to get you started:
    Attached Files Attached Files

  5. #5
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: help on vba code to change the error date format as standard format mm/dd/yyyy

    Thanks dude Its perfect code amazing works I want same code run for this condition dates
    14-11-2013 11.00 RESULT 14-11-2013 11:00
    12-11-2013 14"00 RESULT 12-11-2013 14:00
    12-11-2013 15/00 RESULT 12-11-2013 15:00

  6. #6
    Forum Contributor
    Join Date
    07-23-2013
    Location
    bangalore
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    143

    Re: help on vba code to change the error date format as standard format mm/dd/yyyy

    Thanks Experts Helped on my thread....solved
    Last edited by johnodys; 11-14-2013 at 12:36 PM. Reason: closed

+ 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. Replies: 8
    Last Post: 10-02-2013, 06:23 PM
  2. Date Format Change dd-mm-yyyy to dd-mon-yyyy
    By NAGRAJ in forum Excel General
    Replies: 3
    Last Post: 08-09-2013, 10:20 AM
  3. [SOLVED] Change date format from YYYY-MM-DD hh:mm:ss to YYYY-MM-DD
    By Gunilla in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 07-16-2012, 12:26 PM
  4. [SOLVED] how do I change date from mm/dd/yyyy to dd:mm:yyyy format in Excel
    By Jack Wilson in forum Excel - New Users/Basics
    Replies: 4
    Last Post: 07-18-2006, 09:00 AM
  5. change date format from dd/mm/yyyy to mm/yyyy
    By flow23 in forum Excel General
    Replies: 2
    Last Post: 11-09-2005, 11:40 AM

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