Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to perform a LinEst calculation (best fine line) within a VB
macro so I can use the resulting slope value for some othe calculations. As best as I can tell, I should be setting it up like this: Code ------------------- Value = Application.WorksheetFunction.LinEst(A1:A10,C1:C10 ------------------- However, when I try to compile this function, I get the followin error: Code ------------------- Compile error: Expected: list separator or ------------------- I tried enclosing the ranges with quotes, but that didn't work either. I could create a cell with the LinEst function in it then copy th value, but that seems like a rather inefficient way for doing it. Does anyone have an idea of how to make it work -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Deriving P-Value through LINEST Function | Excel Worksheet Functions | |||
linest function for curve | Excel Discussion (Misc queries) | |||
LINEST Function | Excel Discussion (Misc queries) | |||
Linest function | Excel Worksheet Functions | |||
LinEst function | Excel Programming |