+ Reply to Thread
Results 1 to 4 of 4

VBA to highlight row with value in it

  1. #1
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2016
    Posts
    543

    VBA to highlight row with value in it

    The code below works great, but it only highlights the cells. I can not seem to change it correctly to highlight the row. Thank you.

    For example,

    In row 2 the clinvar column value is pathogenic so the classification column is pathogenic and the entire row is highlighted dark red.
    In row 3 the clinvar column value is unknown so the classification column is uncertain significance and the row is highlighted yellow.

    Please Login or Register  to view this content.

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: VBA to highlight row with value in it

    Try:
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

  3. #3
    Forum Contributor
    Join Date
    05-09-2013
    Location
    Chicago
    MS-Off Ver
    Excel 2016
    Posts
    543

    Re: VBA to highlight row with value in it

    Thank you very much.

  4. #4
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,821

    Re: VBA to highlight row with value in it

    My pleasure.

+ 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. Replies: 4
    Last Post: 07-19-2012, 12:43 PM
  2. Replies: 2
    Last Post: 06-27-2012, 12:27 PM
  3. [SOLVED] highlight/remove highlight of rows conditional on cellvalue
    By timtim89 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 04-01-2012, 07:14 AM
  4. highlight row :Conditional Format to highlight entrire Row
    By shital shah in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 08-25-2005, 11:05 AM
  5. Replies: 5
    Last Post: 05-27-2005, 02:05 PM

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