This documentation is archived and is not being maintained.

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()

public interface Scenarios
public interface Scenarios
public interface Scenarios

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.


Development Platforms

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

Target Platforms

Show: