Scenario Interface
Represents a scenario on a 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)
Syntax
'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("00020897-0000-0000-C000-000000000046")> _
Public Interface Scenario
'Usage
Dim instance As Scenario
[InterfaceTypeAttribute()]
[GuidAttribute("00020897-0000-0000-C000-000000000046")]
public interface Scenario
Remarks
The Scenario object is a member of the Scenarios collection. The Scenarios collection contains all the defined scenarios for a worksheet.
Use Scenarios(index), where index is the scenario name or index number, to return a single Scenario object.