Copies the data, formatting, formulas, and notes from a block of cells on the sheet to a new location.
Overload List
Overload | Description |
CopyRange | Copies the data, formatting, formulas, and notes from a block of cells on the sheet to a new location. |
Example
This example copies the data in a range of cells.
C# | Copy Code |
---|
fpSpread1.ActiveSheet.Cells[0, 0, 1, 1].Text = "Copy";
fpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, true); |
Visual Basic | Copy Code |
---|
FpSpread1.ActiveSheet.Cells(0, 0, 1, 1).Text = "Copy"
FpSpread1.ActiveSheet.CopyRange(0, 0, 3, 0, 1, 1, True) |
Requirements
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
See Also