This example runs a simulation, calls CB.CheckData (because a CB.Enum... call follows), and then opens the next overlay chart in the workbook.
CB.Simulation 1000 CB.CheckData CB.OpenChart cbChtOverlay, CB.EnumChart(cbChtOverlay)