Purge Excel area

更新时间:
复制 MD 格式

1. Component introduction

Note

Prerequisite components: Start Excel or Get Opened Excel

This component purges the content and format of a specified cell area in Excel.

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 Opened sheet object, select v_Sheet_obj_1. This is the output of a prerequisite component such as Get Active Sheet or Activate Sheet.

  2. For Start row of area, enter "1".

  3. For Start column of area, enter "A".

  4. For End row of area, enter "2".

  5. For End column of area, enter "B".

  6. For Purge format, select "Yes".

  7. Default Values for Advanced Options

4.2. Example result

None

5. Example of building a flow

Setup flow

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

  2. Use the Get Active Sheet component to obtain the active sheet object.

  3. Use the Purge Excel Area component to purge the content and format of a specified cell area.

image

Execution result

After the flow runs successfully, it automatically opens the Excel file and purges the content and format of the cells in the specified area A1:B2, as shown in the following figures.

image