Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
change color of column chart
Hi
I am trying to change the FILL RGB color of a column chart and I am struggling to find the correct syntax. For the line in a scatter graph, its mySrs.Format.Line.ForeColor.RGB = RGB(186, 7, 0) but what is the equivalent for a column chart? Thanks! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
change color of column chart
Assuming you are talking about Excel 2007, try
mySrs.Format.Fill.ForeColor.RGB = RGB(186, 7, 0) Regards, Peter R "Robin" wrote in message ... Hi I am trying to change the FILL RGB color of a column chart and I am struggling to find the correct syntax. For the line in a scatter graph, its mySrs.Format.Line.ForeColor.RGB = RGB(186, 7, 0) but what is the equivalent for a column chart? Thanks! |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
change color of column chart
Perfect, thanks Peter.
"Peter T" wrote: Assuming you are talking about Excel 2007, try mySrs.Format.Fill.ForeColor.RGB = RGB(186, 7, 0) Regards, Peter R "Robin" wrote in message ... Hi I am trying to change the FILL RGB color of a column chart and I am struggling to find the correct syntax. For the line in a scatter graph, its mySrs.Format.Line.ForeColor.RGB = RGB(186, 7, 0) but what is the equivalent for a column chart? Thanks! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
change color to selected columns in a stacked column chart | Charts and Charting in Excel | |||
Change column color in chart when column value is over/under goal | Charts and Charting in Excel | |||
help me to change the color of two series in a chart into the same | Charts and Charting in Excel | |||
Bar chart: change color of a bar to red if value > x? | Charts and Charting in Excel | |||
Dynamically change column color in chart | Excel Programming |