編輯

共用方式為


Range.MergeArea Property

Definition

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

public:
 property Microsoft::Office::Interop::Excel::Range ^ MergeArea { Microsoft::Office::Interop::Excel::Range ^ get(); };
public Microsoft.Office.Interop.Excel.Range MergeArea { get; }
Public ReadOnly Property MergeArea As Range

Property Value

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.

Applies to