Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 762
Default xlPolynomial trendline

Mitch -

The usual "trick" is to turn on the macro recorder and go through the steps
of adding the cubic trendline.

In Excel 2003, it works for me, yielding Order:=3 in addition to your
current code.

- Mike
http://www.mikemiddleton.com

"Mitch" wrote in message
...
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.Ad d Type:=xlPolynomial". I
haven't been able to find how to create the cubic trendline. Does anyone
know the trick?



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Trendline juanpablo Charts and Charting in Excel 2 January 5th 10 06:36 PM
Trendline JerryB Excel Worksheet Functions 4 January 6th 09 09:36 PM
Add value of a trendline Peter Doherty Charts and Charting in Excel 1 May 31st 06 12:39 AM
Trendline Trend Excel Worksheet Functions 1 April 25th 06 12:20 AM
Trendline Carter Excel Discussion (Misc queries) 0 January 20th 06 12:45 PM


All times are GMT +1. The time now is 01:26 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"