Hi everyone,
I am not expert (at all) of VBA and therefore my question is simple.
I am trying to replicate the Monte Carlo code example which is in the book of Chris Goodell, but when i try to run the routine, the following message pops up:
“Compile error: User-defined type not defined”
and the following two code lines gets highlighted:
yellow highlighted : Sub MonteCarsloNValues()
blue highlighted: Dim typGeom As mSamples.TypeRasGeom
I know there is some VBA reference to turn on but which one?
Also, is it possible to adapt this code to a 2D simulation?
Thank you