cindy;2509442 said:
Can anyone tell me if there is a way to set rgb colors in excel charts?
Cindy,
This Macro will set the default colors in a chart, (so all charts look
the same)
Code:
--------------------
Sub ChgColor()
ActiveWorkbook.Colors(7) = RGB(255, 153, 255)
ActiveWorkbook.Colors(9) = RGB(255, 124, 128)
ActiveWorkbook.Colors(10) = RGB(51, 204, 51)
ActiveWorkbook.Colors(12) = RGB(128, 128, 0)
ActiveWorkbook.Colors(13) = RGB(228, 0, 228)
ActiveWorkbook.Colors(15) = RGB(234, 234, 234)
ActiveWorkbook.Colors(38) = RGB(255, 204, 255)
ActiveWorkbook.Colors(39) = RGB(225, 195, 255)
ActiveWorkbook.Colors(40) = RGB(255, 228, 201)
ActiveWorkbook.Colors(41) = RGB(117, 150, 255)
ActiveWorkbook.Colors(44) = RGB(255, 214, 133)
ActiveWorkbook.Colors(48) = RGB(192, 192, 192)
ActiveWorkbook.Colors(50) = RGB(0, 255, 153)
ActiveWorkbook.Colors(51) = RGB(0, 128, 0)
ActiveWorkbook.Colors(52) = RGB(153, 102, 51)
ActiveWorkbook.Colors(54) = RGB(215, 135, 175)
End Sub