Partager via


Range.Next Property

Returns a Range object that represents the next cell.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
ReadOnly Property Next As Range
    Get
'Usage
Dim instance As Range
Dim value As Range

value = instance.Next
Range Next { get; }

Property Value

Type: Microsoft.Office.Interop.Excel.Range

Remarks

This property emulates the TAB key, although the property returns the next cell without selecting it.

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

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace