我正在尝试在 vba 中循环 LinEst 函数,但它给了我错误“类型不匹配”
For i = 2 to x
.Range("A" & i) = Application.WorksheetFunction.SeriesSum(xVal_start, 3, -1, Application.WorksheetFunction.LinEst(y_range, Application.WorksheetFunction.Power(x_range, Array(1, 2, 3)), True, False))
next i
关于我缺少什么的任何想法?