+ Reply to Thread
Results 1 to 4 of 4

Macro that uses System Date in conjunction with Conditional Formatting

  1. #1
    Registered User
    Join Date
    10-03-2007
    Posts
    20

    Macro that uses System Date in conjunction with Conditional Formatting

    Hi All,

    After some help

    I have a bunch of dates from say B1-B6.

    What Im after is a macro that checks the system date, and if the system date is 28 days after the dates in B1-B6 the cell will turn red.

    Is this difficult?

    Much Appreciated.

    Rob

  2. #2
    Forum Expert
    Join Date
    01-15-2007
    Location
    Brisbane, Australia
    MS-Off Ver
    2007
    Posts
    6,591
    Rob

    Probably easier to use conditional formatting.

    Select B1, then format, conditional formatting, formula is: =NOW()-B1>28, nominate your format, OK.

    If you really want to have a macro, then this can be done.


    rylo

  3. #3
    Registered User
    Join Date
    10-03-2007
    Posts
    20
    Thanks for your reply.

    That was fine... And works perfectly... Now instead if I put that formula in C1, but reading the date from B1, it makes my C1 Cell go red instead. How can I make it say "Due" with conditional formatting?

    Cheers,

  4. #4
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    Win10/MSO2016
    Posts
    12,967
    Please Login or Register  to view this content.
    Ben Van Johnson

+ 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