Creates a new cells enumerator for the specified sheet area with the specified search order for the specified search range.
Syntax
'Declaration
Public Function New( _
ByVal As Worksheet, _
ByVal As SheetArea, _
ByVal As SearchOrder, _
ByVal As System.Integer, _
ByVal columnStart As System.Integer, _
ByVal As System.Integer, _
ByVal columnEnd As System.Integer _
)
'Usage
Dim worksheet As Worksheet
Dim sheetArea As SheetArea
Dim searchOrder As SearchOrder
Dim rowStart As System.Integer
Dim columnStart As System.Integer
Dim rowEnd As System.Integer
Dim columnEnd As System.Integer
Dim instance As New CellsEnumerator(worksheet, sheetArea, searchOrder, rowStart, columnStart, rowEnd, columnEnd)
public CellsEnumerator(
Worksheet ,
SheetArea ,
SearchOrder ,
System.int ,
System.int columnStart,
System.int ,
System.int columnEnd
)
Parameters
- worksheet
- The sheet.
- sheetArea
- The sheet area.
- searchOrder
- The search order for this enumerator.
- rowStart
- The starting row to enumerate.
- columnStart
- The starting column to enumerate.
- rowEnd
- The ending row to enumerate.
- columnEnd
- The ending column to enumerate.
See Also