This example changes the forecast in cell B7 to open the forecast window automatically during the simulation.
CB.SetFore Range("B7"), 4, True CB.SetFore Range("B7"), 5, 0