+ Reply to Thread
Results 1 to 3 of 3

VBA - Color Code Cells w/in Column based on values

  1. #1
    Registered User
    Join Date
    12-22-2014
    Location
    Seattle
    MS-Off Ver
    Office 2010
    Posts
    2

    VBA - Color Code Cells w/in Column based on values

    Super new to VBA, and need to write code to evaluate the values in Column I, starting with I3 and going down a varying number of rows depending on the report since it has new data each time I pull it. I need the cells to be red if they are > 2.99, yellow if they are in between 1.5 and 2.989, and green if they are below 1.5. I kind of get the 2 ends of that argument, but creating an argument for the "in-between" option I can't figure out. Any help on the loop/if statements I can use to color code this column?

  2. #2
    Forum Expert Kenneth Hobson's Avatar
    Join Date
    02-05-2007
    Location
    Tecumseh, OK
    MS-Off Ver
    Office 365, Win10Home
    Posts
    2,573

    Re: VBA - Color Code Cells w/in Column based on values

    Welcome to the forum!

    Conditional Formatting is the method most would use for that.

  3. #3
    Forum Expert
    Join Date
    06-12-2012
    Location
    Ridgefield Park, New Jersey
    MS-Off Ver
    Excel 2003,2007,2010
    Posts
    10,241

    Re: VBA - Color Code Cells w/in Column based on values

    Maybe:

    Please Login or Register  to view this content.

+ 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. [SOLVED] Is This Possible? Color Code a Date Column Based on Value/No Value in Another Column
    By noodlenoodle in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 09-19-2014, 09:05 AM
  2. VBA code ,Autofill color of a column based on cell value
    By mubashar in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-05-2013, 11:50 AM
  3. VBA code to color cells based on 5 cells values
    By MoeMuny in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-24-2012, 02:36 AM
  4. [SOLVED] Macro to color groups of cells based on column values
    By juskojj in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-12-2012, 10:53 AM
  5. color code states based on different values in the dropdown list
    By blyzzard in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2010, 08:11 AM

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