[]
        
(Showing Draft Content)

GrapeCity.Documents.Excel.IScenario.ChangeScenario

ChangeScenario Method

ChangeScenario(IRange, List<object>)

Changes the scenario to have a new set of changing cells and (optionally) scenario values.

Declaration
void ChangeScenario(IRange changingCells, List<object> values = null)
Sub ChangeScenario(changingCells As IRange, Optional values As List(Of Object) = Nothing)
Parameters
Type Name Description
IRange changingCells

A Range object that refers to the changing cells for the scenario.

List<object> values

A list that contains the scenario values for the cells in ChangingCells. If this argument is omitted, the scenario values are assumed to be the current values in the cells in ChangingCells.