Document Solutions for Excel, .NET Edition | Document Solutions
GrapeCity.Documents.Excel Namespace / IScenario Interface / ChangeScenario Method
A Range object that refers to the changing cells for the scenario.
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.
In This Topic
    ChangeScenario Method
    In This Topic
    Changes the scenario to have a new set of changing cells and (optionally) scenario values.
    Syntax
    void ChangeScenario( 
       IRange changingCells,
       System.Collections.Generic.List<object> values
    )

    Parameters

    changingCells
    A Range object that refers to the changing cells for the scenario.
    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.
    See Also