[]
Copies the data from a range of cells to a specified range of cells.
public void Copy(int fromRow, int fromColumn, int toRow, int toColumn, int rowCount, int columnCount)
Public Sub Copy(fromRow As Integer, fromColumn As Integer, toRow As Integer, toColumn As Integer, rowCount As Integer, columnCount As Integer)
Type | Name | Description |
---|---|---|
int | fromRow | Row index of start of range from which to copy |
int | fromColumn | Column index of start of range from which to copy |
int | toRow | Row index of start of range to which to copy |
int | toColumn | Column index of start of range to which to copy |
int | rowCount | Number of rows to copy |
int | columnCount | Number of columns to copy |
Type | Condition |
---|---|
ArgumentException | Specified starting and ending row or row count is not valid |
ArgumentException | Specified starting and ending column or column count is not valid |