_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.
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for