Save Word

Updated at:

This document provides an example of how to use the Word components in the visual editor of Alibaba Cloud Robotic Process Automation (RPA).

Save Word

1. Component description

Note

Prerequisite: Start Word

Use this component to save a Word document.

2. Inputs

Note

For details about each input parameter, see the help information on the component panel in the application flow editor.

3. Outputs

Note

For details about each output parameter, see the help information on the component panel in the application flow editor.

4. Component example

4.1. Configuration example

  1. Set Opened Word Object to v_word_obj_1, which is the output of the prerequisite component (Start Word).

  2. For Save Method, select the default option.

  3. Keep the default values for the advanced options.

4.2. Example result

None

5. Example flow

Setup flow

  1. Add a Start Word component to the canvas to open a specified Word file.

  2. Add a Replace Text in Word component to the canvas to replace "test" with "Alibaba Cloud RPA" in the Word document.

  3. Add a Save Word component to the canvas to save the Word document.

Execution result

The program opens a Word file from a specified path, replaces "test" with "Alibaba Cloud RPA" in the document, and saves the document.