Copy Range Data Only
Contents
[
Hide
]
Sometimes, you need to copy data from one range of cells to another, copying the data only, not the formatting. Aspose.Cells offers this feature by providing the Range.copyData method.
Copy Range Data Only
This example shows how to:
- Create a workbook.
- Add data to cells in the first worksheet.
- Create a range.
- Create a style object with specified formatting attributes.
- Apply the style formatting to the range.
- Create another range of cells.
- Copy data of the first range to this second range by using the Range.copyData method.