<t>Hi,I'm trying to do a linear regression in VBA on 9 variables (trying to implement Longstaff& Schwartz LSM method for swaptions). with the following piece of code on 400 observationsPrivate Function olsResult(nb As Integer) As VariantReDim ols(10) As Variant Set Y = Range(Cells(8, 12), Cells(...