This example runs a simulation and selects the next overlay chart found in the workbook. Because CB.EnumChart is used here, call CB.CheckData.
CB.Simulation 1000 CB.CheckData CB.SelectChart cbChtOverlay, CB.EnumChart(cbChtOverlay)