I have the following code to add a trendline to a graph in Microsoft Access.
Dim GraphObj As Object
Set GraphObj = Me![Graph45].Object.Application.Chart
GraphObj.SeriesCollection(1).TrendLines.Add
GraphObj.SeriesCollection(1).TrendLines(1).Type = 1
However i require a polynomial trendline. Does anyone have anycode to create the trendline
Cheers
Ian
Dim GraphObj As Object
Set GraphObj = Me![Graph45].Object.Application.Chart
GraphObj.SeriesCollection(1).TrendLines.Add
GraphObj.SeriesCollection(1).TrendLines(1).Type = 1
However i require a polynomial trendline. Does anyone have anycode to create the trendline
Cheers
Ian