[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IScenario.Delete

Delete Method

Delete()

Deletes this scenario.

Use this method to remove a scenario that is no longer needed.

Declaration
void Delete()
Sub Delete()
Examples
worksheet.Range["B2:B3"].Value = new object[,] {{10}, {20}};
IScenario scenario = worksheet.Scenarios.Add("Sales Plan", worksheet.Range["B2:B3"], null);
scenario.Delete();