+ Reply to Thread
Results 1 to 3 of 3

Create Error message for different dates entered.

  1. #1
    Registered User
    Join Date
    08-05-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Create Error message for different dates entered.

    Hi All,

    Let me start by using an example. I have a date (25-Aug-2010) in A1 and I want excel to display and error message when a date that lies in the weekend is entered into cell A2. Also an error message should be displayed when an earlier date is entered into cell A2. Anyone know how to do this?

    Thanks for reading this Thread.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Create Error message for different dates entered.

    Use Conditional formatting to highlight the cells, use WEEKDAY in the condition
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Registered User
    Join Date
    08-05-2010
    Location
    London
    MS-Off Ver
    Excel 2003
    Posts
    29

    Re: Create Error message for different dates entered.

    FONT="Franklin Gothic Medium"]I don't want it to display an error message just for the Weekend, but I want it to do it for dates far ahead and behind 25-August-2010.

    I have the suitable dates in a drop down list in excel. The idea is that users select the date from this list, but some may chose to overwrite the selection at which point I would like a message to appear depending on where the date is from 25th August 2010
    [/FONT]

+ 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