activities
latest
false
Productivity Activities
Last updated Oct 23, 2024

Using Word APIs

To use the Word APIs, apply the following steps:
  1. Download the activity package.
  2. Create a Coded Workflow.
  3. Call the word.UseWordDocument method to retrieve the handle of a Word file.
    Note: By default, this method uses the Word options from Project settings for the resulting handle. However, you can change this behavior by overriding the default options if you use a WordUseOptions object as a parameter, and set its properties as needed.
  4. Use the handle to perform actions. With the Word coded automation, you should be able to perform the same operations as with the Word modern activities in a .xaml file.
    Note: The Word activities are implemented in the Coded service as extension methods for handles. To check all the available extension methods, type WordOperations. and then Ctrl + Space.

Was this page helpful?

Get The Help You Need
Learning RPA - Automation Courses
UiPath Community Forum
Uipath Logo White
Trust and Security
© 2005-2024 UiPath. All rights reserved.