excel vba set backgropund color of cell to ed code example Example: excel vba cells background color Range("A1:C2").Cells.Interior.Color = vbRed