activities
latest
false
Productivity Activities
Last updated Oct 23, 2024

Paste Chart/Picture Into Document

UiPath.Word.Activities.WordPasteFromClipboard

Description

Pastes a chart or picture that was previously placed on the clipboard into a Word document at the specified position. This activity must be added inside a Use Word File activity.

You can place a chart on the clipboard manually or by using the Get Excel Chart activity.

Configuring the Activity

In the Body of the Activity
  • Paste relative to - Select the location relative to which the chart/picture should be pasted:

    • Document - Provides the following placement options:

      • Start - The chart/picture is pasted at the top of the document.
      • End - The chart/picture is pasted at the bottom of the document.
    • Text - Provides the following placement options:

      • Position where to paste - Select the position where to paste the chart/picture: Before, After, or in place of (Replace) the specified text.
      • Text to search for - Click Plus  on the right side of the field, and then, from the menu, choose one of the available options to indicate the text to search for:

        • 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, or indicate a field from a selected email in Outlook that contains the text.
        • Ask when run - Prompt for the text when the project is executed.
        • Paste from clipboard - Paste text that you previously copied to the clipboard in the project.
        • Text - Enter the text in the Text Builder.
        • Use Saved Value - Select a value that you previously saved for later use in the project.
        • Open in Advanced Editor - Enter a VB expression.
    • Paste option - Choose how the chart/picture should be pasted into the document.
Properties Panel

Common

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

Misc

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

Paste Option

  • Paste option - See Paste option in the body of the activity
  • Paste relative to - See Paste relative to in the body of the activity
  • Position where to paste - See Position where to paste in the body of the activity
  • Text - See Text in the body of the activity

Result

  • Found - Indicates if the chart/picture was successfully inserted into the document.
  • 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.