Share via


Scenarios Members

Include Protected Members
Include Inherited Members

A collection of all the Scenario objects on the specified worksheet. A scenario is a group of input values (called changing cells) that’s named and saved.

The Scenarios type exposes the following members.

Properties

  Name Description
Public property Application Returns an Application object that represents the Microsoft Excel application.
Public property Count Returns the number of objects in the collection.
Public property Creator Returns a 32-bit integer that indicates the application in which this object was created.
Public property Parent Returns the parent object for the specified object.

Top

Methods

  Name Description
Public method Add Creates a new scenario and adds it to the list of scenarios that are available for the current worksheet.
Public method CreateSummary Creates a new worksheet that contains a summary report for the scenarios on the specified worksheet.
Public method GetEnumerator() (Inherited from IEnumerable.)
Public method GetEnumerator()
Public method Item Returns a single object from a collection.
Public method Merge Merges the scenarios from another sheet into the Scenarios collection.

Top

See Also

Reference

Scenarios Interface

Microsoft.Office.Interop.Excel Namespace