CB.TrendPrefsND Example

This example runs a simulation of 1000 trials, opens a trend chart, and selects a forecast cell. Then, it clears the list of forecasts included in the trend chart, adds the selected forecast to the trend chart, sets the value axis to have a minimum of 0 and a maximum of 1000, and includes certainty bands of 0%, 25%, 50%, 95%, and 100%.

CB.Simulation 1000
CB.OpenTrend
Range("B7").Select
CB.TrendPrefsND cbTrdChooseFore, cbChfClearList
CB.TrendPrefsND cbTrdChooseFore, cbChfAdd
CB.TrendPrefsND cbTrdValueAxis, cbValMinMaxDiv, 0, 1000
CB.TrendPrefsND cbTrdCertaintyBands, 0, 25, 50, 95, 100