Welcome to the RAS Solution Forums HEC-RAS Help sub MonteCarloNValues()

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #7333
    Anonymous
    Guest

    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?

    Thank you

    #12309
    Anonymous
    Guest

    Also,
    is the procedure adaptable for 2d simulations?

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.