Scenarios.Merge Method
Merges the scenarios from another sheet into the Scenarios collection.
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function Merge ( _
Source As Object _
) As Object
'Usage
Dim instance As Scenarios
Dim Source As Object
Dim returnValue As Object
returnValue = instance.Merge(Source)
Object Merge(
Object Source
)
Parameters
Source
Type: System.ObjectRequired Object. The name of the sheet that contains scenarios to be merged, or a Worksheet object that represents that sheet.
Return Value
Type: System.Object
Remarks
The value of a merged range is specified in the cell of the range's upper-left corner.