copy_range
Copy a range to a destination in an Excel workbook, choosing to transfer values, formulas, or formats. Overlapping ranges are safe because the source is buffered, and relative references shift correctly.
Instructions
Copy a source rectangle to a destination anchor (location objects, may name different sheets). what is 'all', 'values', 'formulas', or 'formats'. The destination is overwritten; the source is buffered first, so an overlapping paste is safe. Relative refs in copied formulas shift by the paste offset like an Excel copy unless adjust_formulas is false; absolute ($) anchors stay put. A hazardous workbook refuses unless allow_loss is true. Auto-backup to .ks4xl-backups; atomic verified save. Refuses while open in Excel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dest | Yes | Where the result lands (its top-left cell). | |
| path | Yes | ||
| what | No | all | |
| sheet | No | ||
| backup | No | ||
| source | Yes | The range to read from. | |
| allow_loss | No | ||
| verify_com | No | ||
| adjust_formulas | No |