共用方式為


Scenarios Members (Excel)

A collection of all the Scenario objects on the specified worksheet.

Methods

Name

Description

Add

Creates a new scenario and adds it to the list of scenarios that are available for the current worksheet.

CreateSummary

Creates a new worksheet that contains a summary report for the scenarios on the specified worksheet. Variant.

Item

Returns a single object from a collection.

Merge

Merges the scenarios from another sheet into the Scenarios collection.

Properties

Name

Description

Application

When used without an object qualifier, this property returns an Application object that represents the Microsoft Excel application. When used with an object qualifier, this property returns an Application object that represents the creator of the specified object (you can use this property with an OLE Automation object to return the application of that object). Read-only.

Count

Returns a Long value that represents the number of objects in the collection.

Creator

Returns a 32-bit integer that indicates the application in which this object was created. Read-only Long.

Parent

Returns the parent object for the specified object. Read-only.