Download Crystal Ball, @RISK, ModelRisk and ProModel Software, Example Models and White-Papers 

telHave a question? Give us a call at 1-888-879-8440
Monday to Friday (9am-9pm EST)

 

The Consultant's Corner - Insight into analytics and other cool stuff...

Search all articles

Minimize
spacer

Buy Software and Services for Oracle Crystal Ball, Palisade DecisionTools Suite, ProModel, Frontline Solver)
Login for analytics downloads and resources
Free consultation with a Technology Partnerz consultant on training, consulting and software questions
Learn about remote support services

See us on yourtubeFollow Technology Partnerz on Twitter

By Eric Torkia on 12/12/2008 2:10 PM
If your objective is to feed one simulation with the results of another, VBA is the way to go. Working on a client assignment, we took the results from a first simulation to configure the parameters of the second. Of course VBA is not the only way, their is also the manual approach.

If all your simulations are in the same workbook, one of the first things that you need to manage is how you will isolate your numbers. For this reason I personally like working with straight values rather than formulas. In crystal ball you can auto-extract most parameters (e.g. mean, median, kurtosis, percentiles, etc.)  from a forecast right into your worksheet.

Alternatively, you can use the CB.GetForeData, CB.GetForePercent, CB.GetForeStat formulas to get the information you need from the first simulation and use copy/paste special - values. In either case we are working with values.

What would happen if we used the formulas only? When we would run the second simulation, the parameters would change as the...
dummy