Range.Areas Range.Areas Range.Areas Property

Definition

Returns an Areas collection that represents all the ranges in a multiple-area selection.

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

Remarks

For a single selection, the Areas property returns a collection that contains one object — the original Range object itself. For a multiple-area selection, the Areas property returns a collection that contains one object for each selected area.

Applies to