Set cell background color programmatically
The line you should use when you need to set a new background color to a cell is:
Sheets(“Sheet1”).Range(“C3”).Interior.Color = RGB(255, 255, 0)
The color will be yellow. For other colors please see the color map article.