Fuga Registered User. Local time Today, 02:55 Joined Feb 28, 2002 Messages 566 Jun 12, 2007 #1 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.
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.
M mjseim Registered User. Local time Yesterday, 17:55 Joined Sep 21, 2005 Messages 62 Nov 1, 2007 #2 I'm trying to find the same thing. Have you figured this out?
M MailMan Registered User. Local time Yesterday, 20:55 Joined Sep 7, 2007 Messages 20 Jun 18, 2008 #3 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
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, 02:55 Joined Feb 28, 2002 Messages 566 Aug 30, 2009 #4 Thanks mailman! I haven´t seen this until now. I will definitely try it. Fuga.