Swap(Int32,Int32,Int32,Int32,Int32,Int32) Method
In This Topic
Swaps a range of cells and pastes it with another range of cells at the specified location.
Syntax
'Declaration
Public Sub Swap( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal toColumn As Integer, _
ByVal As Integer, _
ByVal columnCount As Integer _
)
'Usage
Dim instance As SparklineStorage
Dim row As Integer
Dim column As Integer
Dim toRow As Integer
Dim toColumn As Integer
Dim rowCount As Integer
Dim columnCount As Integer
instance.Swap(row, column, toRow, toColumn, rowCount, columnCount)
Parameters
- row
- column
- toRow
- Row index at which to swap the cell range
- toColumn
- Column index at which to swap the cell range
- rowCount
- Number of rows to swap.
- columnCount
- Number of columns to swap.
See Also