Copy range
copy_rangeCopies cell values and formatting to a new location, overwriting the destination. Adjusts relative formula references as when pasting in Excel.
Instructions
Copy values and formatting to another place, overwriting the destination.
Relative references in copied formulas shift the way they do when pasting in Excel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| path | Yes | Path to an .xlsx, .xlsm, .xltx or .xltm file. Relative paths are resolved in the server's workbook directory when one is configured; otherwise use an absolute path. | |
| range | Yes | A cell or rectangular range in A1 notation, e.g. 'A1:D20'. | |
| sheet | Yes | Worksheet name, e.g. 'Sheet1'. | |
| target_cell | Yes | Top-left cell of the destination. | |
| target_sheet | No | Destination sheet. Default: the same sheet. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |