Hi everyone,
I am trying to run a Monte Carlo simulation and keep getting a very strange error.
At a random point during the run (it differs every time), I will get the error 2036 message when Excel tries to generate a random number using Application.Norm_S_Inv(Rnd()). I have also tried using Application.NormInv(Rnd(), 0, 1) but that suffers the same fate.
Could it be that Excel cannot handle generating so many random numbers and just gives up? This works fine for smaller number of paths/points in time, just not for larger ones.
I am truly stumped.
Thanks in in advance for your help.
I am trying to run a Monte Carlo simulation and keep getting a very strange error.
At a random point during the run (it differs every time), I will get the error 2036 message when Excel tries to generate a random number using Application.Norm_S_Inv(Rnd()). I have also tried using Application.NormInv(Rnd(), 0, 1) but that suffers the same fate.
Could it be that Excel cannot handle generating so many random numbers and just gives up? This works fine for smaller number of paths/points in time, just not for larger ones.
I am truly stumped.
Thanks in in advance for your help.