Scenarios Interface 

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.

Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in microsoft.office.interop.excel.dll)

Usage

Public Class cenariosImplementation
    Implements Scenarios
End Class
Dim cenariosImplementation1 As New cenariosImplementation()

Syntax

Public Interface Scenarios
public interface Scenarios
public interface class Scenarios
public interface Scenarios
public interface Scenarios

Remarks

Use the Scenarios method to return the Scenarios collection.

Use the Add method to create a new scenario and add it to the collection.

Use Scenarios(index), where index is the scenario name or index number, to return a single Scenario object.

Platforms

Development Platforms

Windows XP Home Edition, Windows XP Professional, Windows Server 2003, and Windows 2000

Target Platforms

See Also

Reference

Microsoft.Office.Interop.Excel Namespace

Other Resources

Scenarios Members