View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Carlos Pedro Carlos Pedro is offline
external usenet poster
 
Posts: 1
Default Change Colors in Charts

Hello, I'm looking the equivelent in c++ for the following VBA code:

Sub change_series_color()
Set ch = Worksheets(1).ChartObjects(1)
Set objSeries = ch.Chart.SeriesCollection(1)
objSeries.Interior.Color = RGB(255, 127, 0)
End Sub

I can get the SeriesCollection of the chart, however, the Series Object
doesn't expose a property for its interior or it's interior color..