Save Word
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
Prerequisite: Start Word
Use this component to save a Word document.
2. Inputs
For details about each input parameter, see the help information on the component panel in the application flow editor.
3. Outputs
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
Set
Opened Word Objectto v_word_obj_1, which is the output of the prerequisite component (Start Word).For
Save Method, select the default option.Keep the default values for the advanced options.
4.2. Example result
None
5. Example flow
Setup flow
Add a Start Word component to the canvas to open a specified Word file.
Add a Replace Text in Word component to the canvas to replace "test" with "Alibaba Cloud RPA" in the Word document.
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.