Share via


Worksheet.Scenarios(Object) Method

Definition

Gets 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);

Parameters

Index
Object

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

Returns

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

Applies to