+ Reply to Thread
Results 1 to 5 of 5

Conditional Interior Color

  1. #1
    Registered User
    Join Date
    01-04-2010
    Location
    Oak Harbor, Washington
    MS-Off Ver
    Excel 2003
    Posts
    15

    Conditional Interior Color

    I created a worksheet for training, and I'm just trying to polish it off. The last thing I need to do to it is create a macro on the sheet's VBA that, when the loss date is less than the current date, colors the interior of those cells in red.

    Here is an example of what I'm looking at.
    Attached Files Attached Files

  2. #2
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Conditional Interior Color

    why not just use Conditional Formatting ?

    http://www.contextures.com/xlCondFormat02.html

  3. #3
    Registered User
    Join Date
    01-04-2010
    Location
    Oak Harbor, Washington
    MS-Off Ver
    Excel 2003
    Posts
    15

    Re: Conditional Interior Color

    I could do that, but what would I use to define the current date?

  4. #4
    Forum Guru DonkeyOte's Avatar
    Join Date
    10-22-2008
    Location
    Northumberland, UK
    MS-Off Ver
    O365
    Posts
    21,531

    Re: Conditional Interior Color

    see TODAY() function.

    in context of CF see: http://www.contextures.com/xlCondFormat03.html#Expiry

  5. #5
    Forum Expert contaminated's Avatar
    Join Date
    05-07-2009
    Location
    Baku, Azerbaijan
    MS-Off Ver
    Excel 2013
    Posts
    1,430

    Re: Conditional Interior Color

    but what would I use to define the current date?
    With TODAY() function...
    Люди, питающие благие намерения, как раз и становятся чудовищами.

    Regards, ?Born in USSR?
    Vusal M Dadashev

    Baku, Azerbaijan

+ 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