M
mattc66 via AccessMonster.com
I have the following code that adds a trend line to my chart. I want the
color of the trendline to be red. It's default is black. How can I set the
color to RED? I know I can do it manually by clicking on the trendline and
changing the color. I want to do it in code.
Dim GraphObj As Object
Set GraphObj = Me![OLEUnbound0].Object.Application.Chart
GraphObj.SeriesCollection(1).Trendlines.Add
color of the trendline to be red. It's default is black. How can I set the
color to RED? I know I can do it manually by clicking on the trendline and
changing the color. I want to do it in code.
Dim GraphObj As Object
Set GraphObj = Me![OLEUnbound0].Object.Application.Chart
GraphObj.SeriesCollection(1).Trendlines.Add