Move Method (DefaultSheetDataModel)
In This Topic
Moves the data from a range of cells to the specified location.
Syntax
'Declaration
Public Sub Move( _
ByVal As Integer, _
ByVal fromColumn As Integer, _
ByVal As Integer, _
ByVal toColumn As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer _
)
'Usage
Dim instance As DefaultSheetDataModel
Dim fromRow As Integer
Dim fromColumn As Integer
Dim toRow As Integer
Dim toColumn As Integer
Dim rowCount As Integer
Dim columnCount As Integer
instance.Move(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount)
Parameters
- fromRow
- Row index of starting position of range to move
- fromColumn
- Column index of starting position of range to move
- toRow
- Row index of starting position of destination
- toColumn
- Column index of starting position of destination
- rowCount
- Number of rows in range
- columnCount
- Number of columns in range
Exceptions
See Also