+ Reply to Thread
Results 1 to 3 of 3

Generate error message if todays date not picked.

  1. #1
    Registered User
    Join Date
    01-17-2011
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2007
    Posts
    36

    Generate error message if todays date not picked.

    Hi All

    I have a userform with a DTpicker on it, I would like a warning message to appear if any other date has been picked except "Todays" date. Generally todays date is used but there are certain circumstances that another date may be entered so i dont want the code to stop as such, just a warning to say "are you sure you want another date".

    Can anyone help me with the code on this

    Thanks in advance.
    Last edited by processchip; 02-15-2011 at 09:29 AM.

  2. #2
    Valued Forum Contributor
    Join Date
    09-21-2003
    Location
    British Columbia , Canada
    MS-Off Ver
    03,07,10,13
    Posts
    727

    Re: Generate error message if todays date not picked.

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    01-17-2011
    Location
    Wiltshire, England
    MS-Off Ver
    Excel 2007
    Posts
    36

    Re: Generate error message if todays date not picked.

    Hi Nimrod

    Thanks for your reply but couldnt get it to work. I'm a bit of a newbie
    I have solved the problem by doing a simple excel eqation between todays date and the date entered and have a textbox in my userform display a warning message if the dates are not the same.

    Thanks again

+ 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