+ Reply to Thread
Results 1 to 7 of 7

If date is today then highlight entire row

  1. #1
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    If date is today then highlight entire row

    If column B row whatever = todays date then I want the row from col B to col O, to fill in green. I know I can do this with conditional formatting but I have data that updates itself which causes this conditional formatting to go funny every day, so I really need some sort of macro to do it.

  2. #2
    Forum Contributor
    Join Date
    07-04-2012
    Location
    Al Khor, Qatar
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: If date is today then highlight entire row

    One question, do you have data's after col O?

  3. #3
    Forum Contributor
    Join Date
    07-04-2012
    Location
    Al Khor, Qatar
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: If date is today then highlight entire row

    If No, try using this code,
    Please Login or Register  to view this content.

  4. #4
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: If date is today then highlight entire row

    Yes, I do have data after Col O.

  5. #5
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: If date is today then highlight entire row

    I need to change this line
    Please Login or Register  to view this content.
    I need it so instead of cell.End(x1ToRight) it goes as far as column O. How do I do this?

  6. #6
    Forum Contributor
    Join Date
    07-04-2012
    Location
    Al Khor, Qatar
    MS-Off Ver
    Excel 2013
    Posts
    101

    Re: If date is today then highlight entire row

    Sorry man went to eat lunch.

    Just change from this line
    Please Login or Register  to view this content.
    to this line
    Please Login or Register  to view this content.
    Assuming that you have fix range from Column B:O. just try.

  7. #7
    Valued Forum Contributor
    Join Date
    03-03-2009
    Location
    UK
    MS-Off Ver
    MS365 Subscription Excel for Mac
    Posts
    1,017

    Re: If date is today then highlight entire row

    Thanks! Works great.

+ 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