xlPolynomial trendline

M

Mitch

I am trying to create a cubic trendline (e.g. x^3 +x^2+x+1) in a chart using
VBA. I can create a quadratic trendline (e.g. x^2+x+1) using
"ActiveChart.SeriesCollection(1).Trendlines.Add Type:=xlPolynomial". I
haven't been able to find how to create the cubic trendline. Does anyone
know the trick?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top