CB.CloseTrend Example

This example runs a simulation, calls CB.CheckData (because a CB.Enum... call follows), selects the next trend chart in the workbook and then closes it.

CB.Simulation 1000
CB.CheckData
CB.SelectChart cbChtTrend, CB.EnumChart(cbChtTrend)
CB.CloseTrend