CellRangeCopyTo Method (String)
Copies this cell range to another position in the same worksheet or in another worksheet.
GemBox.Spreadsheet (in GemBox.Spreadsheet.dll) Version: 22.214.171.1246
public void CopyTo(
Public Sub CopyTo (
topLeftCell As String
- Type: SystemString
Full name of the top-left cell of the destination range (e.g. "D4", "Sheet2!D5", etc.).
topLeftCell specifies position of the top-left cell of
the destination cell range (e.g. "D4, "Sheet2!D5", etc.).
Destination cell range has the same width and height as this cell range.
ArgumentOutOfRangeException is thrown if destination range:
- breaks Excel worksheet row or column limit,
- overlaps with source range, or
- overlaps with existing merged range.