Get open Excel file

Updated at:

1. Component introduction

Note

Prerequisites: None

Use this component to retrieve a specified open Excel file.

2. Inputs

Note

For more information about each input, see the help information in the component panel of the application flow editor.

3. Outputs

Note

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

4. Component usage example

4.1. Component configuration example

  1. For Find by, select File name.

  2. In Find content (exact match), enter "Test1.xlsx".

  3. Use the default values for the advanced options.

4.2. Example execution result

None

5. Example flow

Setup flow

  1. Use the Get open Excel file component to retrieve the open Excel file object.

  2. Use the Get active sheet component to retrieve the active sheet object.

  3. Use the Append row to Excel component to write ["Xiong Er","18"] to the last row of the specified sheet.

  4. Use the Save Excel component to save the Excel file.

  5. Use the Close Excel component to close the Excel file.

image

Execution result

As shown in the following figure, after the flow is executed, it retrieves the open Excel file, writes the specified values to the last row, and then saves and closes the file.