편집

다음을 통해 공유


_Application.PreviousSelections[Object] Property

Definition

Returns an array of the last four ranges or names selected. Each element in the array is a Range object.

public:
 property System::Object ^ PreviousSelections[System::Object ^] { System::Object ^ get(System::Object ^ Index); };
public object PreviousSelections[object Index] { get; }
Public ReadOnly Property PreviousSelections(Optional Index As Object) As Object

Parameters

Index
Object

Optional Object. The index number (from 1 to 4) of the previous range or name.

Property Value

Remarks

Each time you go to a range or cell by using the Name box or the Go To command (Edit menu), or each time a macro calls the Goto(Object, Object) method, the previous range is added to this array as element number 1, and the other items in the array are moved down.

Applies to