_Application.PreviousSelections[Object] Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.