# Append Text

> `UiPath.Word.Activities.DocumentAppendText`

`UiPath.Word.Activities.DocumentAppendText`

## Description

Writes text at the end of a document.

## Project compatibility

**Windows - Legacy** | Windows | Cross-platform

## Cross-platform, Windows configuration

The body of the activity

* **File** - The full path of the Word file to be used
* **Text** - The string or string variable to be written. Only String variables and strings are supported. Click **Plus** on the right side of the field to toggle between using a local path or a Resource file. We recommend using relative folder paths to accommodate the file structure variations between Windows and Linux during project execution. For example, `newFolder` or `otherFolder`.
* **New line** - Enable this option to append text from a new line.

## Windows-Legacy configuration

## Properties

:::note
Strings must be placed between quotation marks.
:::

#### Input

* **Text** - The string or string variable to be written. Only String variables and strings are supported.

#### **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.

#### 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.
