This function creates a new chart of the specified type and returns the chart ID of the new chart. Optionally, you can specify the name. If successful, the new chart becomes the selected chart for subsequent chart calls. If the chart is not created successfully, an empty string is returned.
Table 28. CB.CreateChart Returned Data Type
The path and name of the new chart of the specified type, ChartID, in the format: "|Current Results|Sensitivity Charts|Charts.xls|Sensitivity Chart 1" |