Edytuj

Udostępnij za pośrednictwem


Range.Previous Property

Definition

Returns a Range object that represents the previous cell.

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

Property Value

Remarks

If the object is a range, this property emulates pressing SHIFT+TAB; unlike the key combination, however, the property returns the previous cell without selecting it.

On a protected sheet, this property returns the previous unlocked cell. On an unprotected sheet, this property always returns the cell immediately to the left of the specified cell.

Applies to