Hi,
I am trying to generate Linear Trendline Equation for a graph using VBA in Excel 2007.
I am able to do it. However It always generate trendline equation in "General" Format.
And i want to display linear trendline equation oin graph in "scientific notation" upto 5 decimal places using VBA code.
The code which i have written for generating Linear Trendline Equation is:
Anyhelp would be highly appreciated
Thanks
Prashant Dixit
I am trying to generate Linear Trendline Equation for a graph using VBA in Excel 2007.
I am able to do it. However It always generate trendline equation in "General" Format.
And i want to display linear trendline equation oin graph in "scientific notation" upto 5 decimal places using VBA code.
The code which i have written for generating Linear Trendline Equation is:
Code:
ActiveChart.SeriesCollection(1).Trendlines.Add Type:=xlLinear, Name:="Linear Trend (QCM Frequency Rate)", Forward:=0, Backward:=0, DisplayEquation:=True, DisplayRSquared:=False
Anyhelp would be highly appreciated
Thanks
Prashant Dixit