Range.MergeArea Property

Returns a Range object that represents the merged range containing the specified cell.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property MergeArea As Range
    Get
'Usage
Dim instance As Range
Dim value As Range

value = instance.MergeArea
Range MergeArea { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

Remarks

If the specified cell isn’t in a merged range, this property returns the specified cell.

The MergeArea property only works on a single-cell range.

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace