![]() |
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! |
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! |
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! |
All times are GMT +1. The time now is 06:57 AM. |
Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com