Copy Activity
The Copy activity enables users to duplicate data from a specified range within an Excel file. It supports copying data within the same workbook or between different Excel workbooks, providing flexibility in data transfer operations.
| Field | Description | Requirement |
|---|---|---|
| Excel Name | The reference name of an already opened or created Excel file. | Required |
| Sheet Name | The name of the sheet within the Excel file to work with. If not specified, the first sheet is used by default. | Optional |
| Sheet Index | The index of the sheet within the Excel file to work with. If not specified, the first sheet is used by default. | Optional |
| Destination | The starting cell (e.g., D1) where the copied data will be written in the destination Excel file. | Optional |
| Source Excel | The reference name of the Excel file from which data will be copied. | Optional |
| Source Sheet | The name of the sheet within the source Excel file from which data will be retrieved. | Optional |
| Range | The range of cells (e.g., A1:B5) to be copied from the source. | Optional |
| Shift | Specifies how the dataset is copied to the Excel file, particularly when overwriting existing data. | Required |
| Copy as Value | When selected, copies only the values of cells, ignoring any formulas. This is useful for preserving calculated results. | Optional |
Action Types & Examples
Shift Options
- Format: string
-
Example Result:
NONE -
Format: string
-
Example Result:
RIGHT -
Format: string
- Example Result:
DOWN
Implementation Examples
Field Setup
Excel Name:${newExcel}Sheet Name:Sheet1Sheet Index:5Destination:D1Source Excel:${newExcel}Range:A1:B5Shift:NONECopy as Value:true
Execution Parameters
Technical Notes
Sheet name fields do not have to be filled if the first sheet of the Excel file will be copied. Otherwise, it must be filled.
If there are two separate Excel files and a copy operation is performed between them, the
Sheet Name,Source Sheet, andSource Excelfields must be filled.The
Copy as Valueoption is crucial when dealing with cells containing formulas. Selecting this option ensures that only the calculated results are copied, preventing potential data loss or incorrect values if formulas are not properly transferred.