Scenarios.Merge method (Excel)
Merges the scenarios from another sheet into the Scenarios collection.
Syntax
expression.Merge (Source)
expression A variable that represents a Scenarios object.
Parameters
Name | Required/Optional | Data type | Description |
---|---|---|---|
Source | Required | Variant | The name of the sheet that contains scenarios to be merged, or a Worksheet object that represents that sheet. |
Return value
Variant
Remarks
The value of a merged range is specified in the cell of the range's upper-left corner.
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.