Skip to main content

Copy range

Copy a range to another place on the same sheet or another sheet of the workbook, like copy and paste in Excel: everything, values only, formulas only or formats only. Relative cell references in formulas move with the copy.

Command in the Excel toolkit · id ooa.excel/copy_range · 6 inputs (2 required), 1 output

Inputs​

InputTypeRequiredDefaultWhat it is
RangeStringYesCells to copy.
DestinationStringYesTop-left cell to paste to.
PasteStringNoallall copies contents and formats; values pastes the calculated values (no formulas, destination formats kept); formulas copies contents without formats; formats copies only the formats.
SheetStringNoSheet to copy from; active sheet when empty.
Destination sheetStringNoSheet to paste to; the sheet copied from when empty.
SessionStringNoexcelWorkbook session.

Outputs​

OutputTypeWhat it is
rangeStringAddress of the cells written, e.g. E2:G10.