Do you mean along the lines of:
vResults would be a 2d Array of the results.![]()
Dim vResults As Variant With Sheets("Sheet1").Range("A8:A15") vResults = .Parent.Evaluate("=LINEST(" & .Offset(, 2).Address & "," & .Address & ",TRUE,TRUE)") End With
Do you mean along the lines of:
vResults would be a 2d Array of the results.![]()
Dim vResults As Variant With Sheets("Sheet1").Range("A8:A15") vResults = .Parent.Evaluate("=LINEST(" & .Offset(, 2).Address & "," & .Address & ",TRUE,TRUE)") End With
My Recommended Reading:
Volatility
Sumproduct & Arrays
Pivot Intro
Email from XL - VBA & Outlook VBA
Function Dictionary & Function Translations
Dynamic Named Ranges
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks