_Worksheet.Next Property

Returns a Chart, Range, or Worksheet object that represents the next sheet or cell. Read-only.

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

Syntax

'Declaration
ReadOnly Property Next As Object
    Get
'Usage
Dim instance As _Worksheet
Dim value As Object

value = instance.Next
Object Next { get; }

Property Value

Type: System.Object

Remarks

If the object is a range, 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

_Worksheet Interface

_Worksheet Members

Microsoft.Office.Interop.Excel Namespace