Cells(1, 1).Font.ColorIndex = 3 ' 字的色号为3 红色 Cells(1, 1).Interior.ColorIndex = 3 ' 背景的色号为3 红色 Cells(2, 1).Font.Color = RGB(0, 255, 0) '字的颜色- 绿色 Cells(2, 1).Interior.Color = RGB(0, 0, 255) '背景的颜色- 蓝