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.
This article provides a sample code that uses Aspose.Cells to copy a range of data.
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.