Copies a cell or a range of cells to the specified range.
This example copies the range A1:D4 on Sheet1 into range E5:H8 on Sheet2.
Workbook.Sheets[1].Range['A1', 'D4'].Copy(Workbook.Sheets[2].Range['E5', 'H8']);
This example copies the formats of range A1:D4 on Sheet1 into range E5:H8 on the same sheet.
With Workbook.Sheets[1] do begin
Range['A1', 'D4'].Copy(Range['E5', 'H8'], xlPasteFormats);
end;
This example copies the values of range A1:D4 on Sheet1 into range E5:H8 on the same sheet.
With Workbook.Sheets[1] do begin
Range['A1', 'D4'].Copy(Range['E5', 'H8'], xlPasteValues);
end;