Copies the data from a range of cells to a specified range of cells.
Syntax
'Declaration
Public Sub Copy( _
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 AggregationDataModel
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.Copy(fromRow, fromColumn, toRow, toColumn, rowCount, columnCount)
Parameters
- fromRow
- Row index of start of range from which to copy
- fromColumn
- Column index of start of range from which to copy
- toRow
- Row index of start of range to which to copy
- toColumn
- Column index of start of range to which to copy
- rowCount
- Number of rows to copy
- columnCount
- Number of columns to copy
See Also