Copies an area of cells from a Worksheet in either the same workbook or another workbook.
public Area CopyPaste(int firstRow, int firstCol, Area sourceArea, CopyPasteProperties properties)
Public Function CopyPaste(ByVal firstRow As Integer, ByVal firstCol As Integer, ByVal sourceArea As Area, ByVal properties As CopyPasteProperties) As Area
The zero-based index of the first row in destination area.
The zero-based index of the first column in the destination area.
An area from the source workbook from which to copy.
A CopyPasteProperties object that specifies the types of data to copy.
An Area object representing the set of cells populated with the copied values.