Copy an Excel area

更新时间:
复制 MD 格式

1. Component description

Note

Prerequisites: Start Excel or Get opened Excel

This component copies the content within a specified area.

2. Inputs

Note

You can find help information for each input field in the component panel of the application flow editor.

3. Outputs

Note

For more information about each output, see the component panel in the application flow editor.

4. Component example

4.1. Component configuration example

  1. For Opened Excel object, select v_excel_obj_1, which is the output of the prerequisite component (Start Excel or Get opened Excel).

  2. For Sheet name, enter 'Sheet1'.

  3. For Start row of area, enter '1'.

  4. For Start column of area, enter 'A'.

  5. For End row of area, enter '2'.

  6. For End column of area, enter 'B'.

  7. Use the default values for advanced options.

4.2. Example result

None

5. Example of building a flow

Build the flow

  1. Use the Start Excel component to start a specified Excel file.

  2. Use the Copy Excel area component to copy the content from a specified area in the Excel file.

  3. Use the Paste Excel area component to paste the copied content into a specified area on another sheet.

image

Result

As shown in the following figures, after the flow runs, it automatically opens the Excel file, copies the content of the A1:B2 area on Sheet1, and then pastes it into the area that starts from cell A2 on Sheet2.

image