Hi guys.
I've been searching through the forums, but I can't seem to find anything on the subject.
I'm using the worksheet funtion "LinEst" in VBA to make regression in a monte carlo simulation. It works just fine with a low number of simulations, but I would like to make 100,000 simulations and then I get a type mismatch error message from the worksheetfunction.linest. I figured out through trial and error that the error occurs, when I try to do more than 65536 simulations. Doing a quick search on google I found out that 65536 was the maximum number of rows in previous versions of Excel. I use 2007, but it seems that the LinEst function hasn't been updated to handle the larger number of rows in Excel 2007. Does anybody know how I can resolve this issue or have any other piece of advice?
Regards
JB3717
I've been searching through the forums, but I can't seem to find anything on the subject.
I'm using the worksheet funtion "LinEst" in VBA to make regression in a monte carlo simulation. It works just fine with a low number of simulations, but I would like to make 100,000 simulations and then I get a type mismatch error message from the worksheetfunction.linest. I figured out through trial and error that the error occurs, when I try to do more than 65536 simulations. Doing a quick search on google I found out that 65536 was the maximum number of rows in previous versions of Excel. I use 2007, but it seems that the LinEst function hasn't been updated to handle the larger number of rows in Excel 2007. Does anybody know how I can resolve this issue or have any other piece of advice?
Regards
JB3717