UiPath Activities

The UiPath Activities Guide

Word Application Scope / Use Word File

UiPath.Word.Activities.WordApplicationScope

In the Studio profile, this activity is named Word Application Scope.

Description

Opens a Word document and provides a scope for other Word activities. When this activity ends, the document and the Word application are closed. If the specified file does not exist, a new document file is created. This activity can only be used if the Microsoft Word application is installed on your machine.

Properties

File

  • FilePath - The full path of the Word file to be used. If the Word file to be used is located in the project folder, its relative path can be used. Only String variables and strings are supported.

Note:

Strings must be placed between quotation marks.

Common

  • DisplayName - The display name of the activity.

Misc

  • Private - If selected, the values of variables and arguments are no longer logged at Verbose level.

UiPath.Word.Activities.WordApplicationScope

In the StudioX profile, this activity is named Use Word File.

Description

Lets you select a Word document to use in the automation. After you add the activity and indicate the file, add the Word activities to perform on the file inside this activity. If the specified file does not exist, the file is created when the project is executed. When this activity ends, the document and the Word application are closed.

If the activity is added inside a Use Excel File or Use Outlook Account activity, you can select data from that Excel file or Outlook account when configuring the activities added inside Use Word File.

To learn how to use this activity:

Configuring the Activity

In the Body of the Activity

  • Word file - Click Browse browse files next to the field, and then browse to and select a Word document. Alternatively, you can provide the file path using one of the options in the Plus plus button menu on the right side of the field. For example, select a cell in the Project Notebook that contains a path to a Word document or select Ask when run to enter a path manually when the project is executed.

In the Properties Panel

Common

  • DisplayName - The name displayed for the activity in the Designer panel.

File

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

Updated 5 months ago


Word Application Scope / Use Word File


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.