LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default Get Value of Equation on Chart

All VBA Kung foo masters, I need to be able to use the
Equation of a line in my code to calculate a forecast on
some sales data. I know that on the Chart I can add a
trendline, and then tell it to 'display equation on
chart', but how can I get the value of that equation?

I actually want to use that equation in some code and
since Excel is displaying it there should be a way to get
the value of that data label

I tried this but to no avail:
ActiveChart.SeriesCollection(1).Trendlines
(1).DataLabel.Value????

Any one got the Kung Foo move for this?

Alex A
 
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
What's equation for R-Squared value given for chart trendlines? Sarah Charts and Charting in Excel 4 October 29th 07 12:39 PM
I cannot display all the poly equation constants on the chart. daz Charts and Charting in Excel 4 October 17th 07 04:29 PM
make chart based on equation Daniel Charts and Charting in Excel 7 August 12th 07 03:33 PM
How to calculate something using equation from Chart' directly? pujiyono Excel Worksheet Functions 1 August 16th 06 02:21 PM
Can you chart an equation (y=mx+b)? Adam Charts and Charting in Excel 2 December 16th 05 05:06 AM


All times are GMT +1. The time now is 02:03 AM.

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

About Us

"It's about Microsoft Excel"