+ Reply to Thread
Results 1 to 2 of 2

Compare current date to cell date

  1. #1
    Registered User
    Join Date
    12-19-2012
    Location
    Spokane, WA
    MS-Off Ver
    Excel 2007
    Posts
    10

    Compare current date to cell date

    I am trying to write a code that will check the date in a list of cells, and if that date has passed, then clear that cell and change a cell in the same row. So cells G2:G35 have dates and E2:E35 has a drop down menu with "YES" and "NO". If the date in "G" has passed then clear that cell and change the drop down to "NO" the associated "E" cell. There is also another date column, "L" with drop down menu in "K". This macro will run when the workbook is opened.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Compare current date to cell date

    Like this:

    Please Login or Register  to view this content.
    Last edited by stnkynts; 01-04-2013 at 06:54 PM. Reason: Had to fix a goof

+ 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