activities
latest
false
UiPath logo, featuring letters U and I in white
Productivity Activities
Last updated Nov 21, 2024

Set Bookmark Content

UiPath.Word.Activities.WordSetBookmarkContent

Description

Adds text at a specified bookmark location in a Word document. This activity must be added inside a Use Word File activity.

To learn how to use this activity, see Tutorial: Working with Word Automation.

Configuring the Activity

In the Body of the Activity
  • Bookmark name - Click Plus  on the right side of the field, and then, from the menu, select Text to enter the name of the bookmark where to add text in the Text Builder. Alternatively, choose one of the other available options in menu to indicate the bookmark name:

    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select a cell that contains the bookmark name, or indicate a field from a selected email in Outlook that contains the name.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the bookmark name when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.
  • Bookmark text - Click Plus  on the right side of the field, and then, from the menu, select Text to enter the text to add at the bookmark location in the Text Builder. Alternatively, choose one of the other available options in menu to indicate the text:

    • Data from the Project Notebook, a parent Excel file or Outlook account. For example, select an Excel file, and then select a cell that contains the text to add, or indicate a field from a selected email in Outlook that contains the text.
    • Use Saved Value - Select a value that you previously saved for later use in the project.
    • Ask when run - Prompt for the text to add when the project is executed.
    • Open in Advanced Editor - Enter a VB expression.
Properties Panel

Common

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

Input

  • See the options in the body of the activity.

Misc

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

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.