Delete Excel column

更新时间:
复制 MD 格式

1. Component introduction

Note

Prerequisite components: Launch Excel or Get Opened Excel

This component deletes a specified column from an Excel sheet.

2. Inputs

Note

In the component panel of the application flow editor, you can refer to the help information for each input field.

3. Outputs

Note

For more information about each output, see the component panel in the ROS Visual Editor.

4. Component usage example

4.1. Component configuration example

  1. Set Opened Sheet Object to v_Sheet_obj_1, which is the output of the Get Active Sheet or Activate Sheet component.

  2. Set Target Column to Delete to "A".

  3. Use the default values for the advanced options.

4.2. Example execution result

None.

5. Example flow

Setup Flow

  1. Use the Launch Excel component to open a specified Excel file.

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

  3. Use the Delete Excel Column component to delete a specified column from the Excel sheet.

image..png

Result

After the flow runs, it automatically opens the Excel file and deletes column A, as shown in the following figures.