+ Reply to Thread
Results 1 to 3 of 3

Macro to Change color of cell after cross referencing date with a given date.

  1. #1
    Registered User
    Join Date
    07-24-2013
    Location
    Alberta
    MS-Off Ver
    Excel 2010
    Posts
    3

    Macro to Change color of cell after cross referencing date with a given date.

    I am trying to write a macro that will change the color of all the data cells until a certain date. I have a reference cell H5 that has the invoiced date. I have row 2 which has dates alternating. So Column 2 looks like this.... June 2/2013, Adjustment, June 3/2013, Adjustment etc... So when a date is placed in invoiced date, I want it to color all the invoices and adjustments until that date.

  2. #2
    Forum Guru Pete_UK's Avatar
    Join Date
    12-31-2011
    Location
    Warrington, England
    MS-Off Ver
    Office 2019 (still learning)
    Posts
    24,723

    Re: Macro to Change color of cell after cross referencing date with a given date.

    Why use a macro for this? You can probably do it with conditional formatting.

    Pete

  3. #3
    Registered User
    Join Date
    07-24-2013
    Location
    Alberta
    MS-Off Ver
    Excel 2010
    Posts
    3

    Re: Macro to Change color of cell after cross referencing date with a given date.

    I have tried and it won't work. And I need to be able to run it for each month

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Change Cell Color According To Date
    By msisk83 in forum Excel Formulas & Functions
    Replies: 16
    Last Post: 08-08-2013, 09:47 AM
  2. [SOLVED] Macro to automatically change tab color to red base on a cell date
    By Chaunceycat in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-10-2012, 07:53 PM
  3. Analyse date frequency cross-referencing multiple date ranges
    By globalpontoon in forum Excel General
    Replies: 2
    Last Post: 05-15-2012, 04:24 PM
  4. [SOLVED] change background row color with change of date in a cell
    By Urszula in forum Excel General
    Replies: 5
    Last Post: 05-17-2006, 03:00 AM
  5. I want any date 90 days or older from current date change color
    By Big Abalone in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-23-2006, 12:10 AM

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