CB.ExtractDataND Example 1

This example runs a simulation and then sets preferences to extract the decile percentile data for all the forecasts. It then extracts the data to a new worksheet in the active workbook.

CB.Simulation 1000
CB.CheckData
CB.ExtractDataND cbExtChooseFore, cbChfAll
CB.ExtractDataND cbExtDataType, cbDatPercentiles
CB.ExtractDataND cbExtPercentiles, cbPctDeciles
CB.ExtractDataND cbExtExistingSheet, True
CB.ExtractDataND cbExtOK