_Worksheet.Scenarios(Object) Method

Definition

Returns an object that represents either a single scenario (a Scenario object) or a collection of scenarios (a Scenarios object) on the worksheet.

public object Scenarios (object Index);
Public Function Scenarios (Optional Index As Object) As Object

Parameters

Index
Object

Optional Object. The name or number of the scenario. Use an array to specify more than one scenario.

Returns

Applies to