This subroutine resets the current simulation without prompting you to confirm the reset. It automatically closes all forecast windows, the trend chart, the overlay chart, and the sensitivity chart; then it clears results from the previous simulation.
This is very useful to use before calls to subroutines and functions that require that a simulation be reset, such as CB.Freeze. You can also call this subroutine to make sure that simulations start at Trial 1. For users to confirm the reset, use CB.Reset because it includes a prompt before it runs.
You do not have to run a simulation before you call this subroutine. However, it is convenient to run to ensure that no prior simulation results are around.
If you run a simulation using the CB.Simulation subroutine without resetting, Crystal Ballruns additional trials and adds the results to the existing results. This is different from the user interface command, which tells you it has reached the maximum number of trials and requires you to reset the simulation. |