WorksheetCopy Method (Worksheet, CopyOptions)
Copies contents and formats from another worksheet.

Namespace: Aspose.Cells
Assembly: Aspose.Cells (in Aspose.Cells.dll) Version: 19.11.0.0 (19.11)
Syntax
public void Copy(
	Worksheet sourceSheet,
	CopyOptions copyOptions
)

Parameters

sourceSheet
Type: Aspose.CellsWorksheet
Source worksheet.
copyOptions
Type: Aspose.CellsCopyOptions
Remarks
You can copy data from another worksheet in the same file or another file. However, this method does not support to copy drawing objects, such as comments, images and charts.
See Also