Microsoft Word is a pretty popular tool among enterprise users, to say the least. As a result, automating this part of the office life is a must.
The Word package contains multiple activities that enable you to manipulate
.docx files. It is possible to use them to add images to your documents, read, append or replace text within them, add bookmarks, as well as export them to PDF.
It is important to note that all the activities under the App Integration category can only be used within Word Application Scope, while the others in the System category can be used without it.
Another important piece of information is that the activities in the first category open the Word application while processing the given details, while the latter does the execution in the background.
The UiPath.Word.Activities pack is compatible with the following Microsoft Word versions:
Please note that the Microsoft Office 2016 version 1708 (Build 8431.2079) changes the window title of files from "FileName.docx - Word" to "FileName.docx - Saved".
This may cause some problems if your automation project uses selectors which contain the window title. For example, the following selector no longer works if your Word version is the previously mentioned one:
<wnd app='word.exe' cls='XLMAIN' title='FileName.docx - Word' /> <wnd cls='EXCEL7' title='FileName.docx' />. To prevent this issue, we recommend using a dynamic variable selector.
Updated 10 months ago