UnsolvedCoding
Technical User
I can't figure out why the color won't get removed from a cell. I have tried many variations of what is below both with color and color index.
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = -4142
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = 0
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = xlnone
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = xlcolorindexnone
Coloring the cells hasn't been a problem. Both of these are accepted without question.
Sheets("Info").Range("AG" & C + 1 & ":AI" & C + 1).Interior.ColorIndex = 36
Sheets("Info").Range("AG" & C + 1 & ":AI" & C + 1).Interior.Color = 10092543
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = -4142
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = 0
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = xlnone
Sheets("Info").Range("AL" & B - 9 & ":AP" & B - 9).Interior.ColorIndex = xlcolorindexnone
Coloring the cells hasn't been a problem. Both of these are accepted without question.
Sheets("Info").Range("AG" & C + 1 & ":AI" & C + 1).Interior.ColorIndex = 36
Sheets("Info").Range("AG" & C + 1 & ":AI" & C + 1).Interior.Color = 10092543