Add Fill Color to Row
Assuming that your code nemd the range you wanted to change as rg1.
rg1.interior.colorindex = 3
3 is red
6 is yellow
Those are the indexes I know off of the top of my head. You can use the
immediate window to discover others.
RSteph wrote:
I've got a Macro that runs through all the rows on my page, and removes in
rows where the check value is between 0 and -5. Any row that has a check
value greater than -5 (technically less than) I want it to make the row from
column A to H Red in the background. So that the user will know to look at
that row when done.
How would I go about changing the fill color value for a row of cells?
|