Trend line function. (1 Viewer)

Fuga

Registered User.
Local time
Today, 11:39
Joined
Feb 28, 2002
Messages
566
Hi all,

I would like to have a function in an access query showing the slope of a trendline (the linear one in excel).

Do you know how to create it?

Fuga.
 

mjseim

Registered User.
Local time
Today, 02:39
Joined
Sep 21, 2005
Messages
62
I'm trying to find the same thing. Have you figured this out?
 

MailMan

Registered User.
Local time
Today, 05:39
Joined
Sep 7, 2007
Messages
20
Trend Function

The following function works when called from VB:

Function TrendFunction(yRange(), xRange(), xNew, tLine As Boolean)
Dim TrendArray

TrendArray = Excel.WorksheetFunction.Trend(yRange, xRange, xNew, tLine)
TrendFunction = TrendArray(1)
End Function
 

Fuga

Registered User.
Local time
Today, 11:39
Joined
Feb 28, 2002
Messages
566
Thanks mailman!

I haven´t seen this until now. I will definitely try it.

Fuga.
 

Users who are viewing this thread

Top Bottom