+ Reply to Thread
Results 1 to 2 of 2

Macro Help!

Hybrid View

  1. #1
    Registered User
    Join Date
    03-22-2011
    Location
    State College, PA
    MS-Off Ver
    Excel 2007
    Posts
    4

    Macro Help!

    I am try to write a macro that will highlight a row based on certain criteria in a cell. If column N values are greater than 5, and column O values are between 0 and 90, I would like the row to be highlighted in orange. I only want to row to light up if both these conditions are met.

    I tried to use conditional formatting to achieve this, but because I copied and pasted values onto the worksheet, the particular conditional formatting I was using (=INDIRECT(“[COLUMN LETTER]”&ROW())=[VALUE]) would not work. I tested the formula out in a new workbook, and the formula worked fine, so that was how I deduced it was the copying and pasting problem.

    Please help! I have been stuck on this problem for weeks!

  2. #2
    Forum Expert shg's Avatar
    Join Date
    06-20-2007
    Location
    The Great State of Texas
    MS-Off Ver
    2010, 2019
    Posts
    40,689

    Re: Macro Help!

    Welcome to the forum.

    Please take a few minutes to read the forum rules, and then amend your thread title accordingly.

    Thanks.
    Entia non sunt multiplicanda sine necessitate

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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