Skip to content

Latest commit

 

History

History
29 lines (13 loc) · 924 Bytes

edd1c4f4-12b1-0d9f-f4aa-dd66278ba891.md

File metadata and controls

29 lines (13 loc) · 924 Bytes

Scenario Object (Excel)

Represents a scenario on a worksheet.

Remarks

A scenario is a group of input values (called changing cells ) that's named and saved. The Scenario object is a member of the Scenarios collection. The Scenarios collection contains all the defined scenarios for a worksheet.

Example

Use Scenarios ( index ), where index is the scenario name or index number, to return a single Scenario object. The following example shows the scenario named "Typical" on the worksheet named "Options."

Worksheets("options").Scenarios("typical").Show

See also

Other resources

Excel Object Model Reference Scenario Object Members