1. Component introduction
Prerequisites: Launch Excel or Get Opened Excel
This component copies a specified sheet in an Excel file to a new sheet.
2. Inputs
For details about each input, see the component panel of the application flow editor.
3. Outputs
For details about each output, see the component panel of the application flow editor.
4. Component usage example
4.1. Component configuration example
For
Opened Excel object, select the v_excel_obj_1 object returned by the Launch Excel or Get Opened Excel component.Set
Name of the sheet to copyto the name of the sheet you want to copy, such as "Sheet1".Set
Copy methodto "Copy to another Excel file".Set
Target Excel objectto `v_excel_obj_2`, which is the output of the Launch Excel or Get Opened Excel component.Set
New sheet nameto the name of the destination sheet, such as "Test Copy Sheet".Keep the default values for the advanced options.
4.2. Example execution result
None
5. Flow creation example
Setup flow
Use the Launch Excel component to open Excel File 1.
Use the Get Sheet Names component to retrieve the names of all sheets in File 1.
Use the Launch Excel component to open Excel File 2.
Use the Copy Sheet component to copy the specified sheet from File 1 to a new sheet in File 2.
Execution result
After the flow is executed, the content of the specified sheet is copied to the new sheet, as shown in the following figure.
