+ Reply to Thread
Results 1 to 3 of 3

Date Format

  1. #1
    Registered User
    Join Date
    09-08-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 SP3
    Posts
    45

    Angry Date Format

    Hey there,

    I'm currently trying to do some error checking on a cell where the user has to enter the exact date format as "dd/mm/yyyy"

    I have been using isDate to check if its a date and not text and then using the below function to check the exact format:

    Please Login or Register  to view this content.
    I've tried the above if statement but doesnt seem to be working for me. Does ayone have any idea's as to why it wont work as it has been driving me potty!

    Cheers for any help,

    Jag
    Last edited by therealjag; 10-06-2009 at 07:04 AM.

  2. #2
    Valued Forum Contributor Richard Schollar's Avatar
    Join Date
    05-23-2006
    Location
    Hampshire UK
    MS-Off Ver
    Excel 2002
    Posts
    1,264

    Re: Date Format

    Hi Jag

    Let me ask why the date format matters - if the user enters a proper Excel date (which you can control eg with Data Validation) the format of the actual entered date shouldn't matter.

    Richard
    Richard Schollar
    Microsoft MVP - Excel

  3. #3
    Registered User
    Join Date
    09-08-2009
    Location
    Glasgow
    MS-Off Ver
    Excel 2003 SP3
    Posts
    45

    Re: Date Format

    Hey Richard,

    Yeah perhaps I didnt explain fully but the reason I need it in the format dd/mm/yyyy is because I have to import the date into a different system and the import function only recognises dates in the format dd/mm/yyyy only unfortunately.

    I've been tinkering around with the statement though and have managed to figure it out....the below statement now seems to do the job:

    Please Login or Register  to view this content.

+ 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