Subscribe

UiPath Activities

The UiPath Activities Guide

Copy Range

UiPath.Excel.Activities.Business.CopyPasteRangeX

Copies a range or sheet and pastes it to another location in the current workbook, to a different workbook, or to the clipboard. The activity can be used with Excel files selected for parent Use Excel File activities or with the Project Notebook.

You can copy values, formulas, number and cell formats, and transpose (rotate) data. The following table lists supported copy-paste combinations:

Copy from

Paste to

Sheet

Sheet

Range

Sheet

Range

Range

Range

Cell

Cell

Cell

Cell

Range

To learn how to use this activity, see:

Configuring the Activity

In the Body of the Activity

  • Source - Click Plus plus buttonplus button on the right side of the field and then, from the menu, select a named range, table, or sheet to copy, or select Indicate in Excel to open the file and select a range directly from the file. Alternatively, you can select Custom Input to enter the range manually, or Open in Advanced Editor to enter a VB expression.
  • Destination - Click Plus plus buttonplus button on the right side of the field and then, from the menu, select the Excel file and then a named range, table, or sheet where to paste the copied data, Indicate in Excel to open the file and select a range directly from the file, or Custom Input to enter the destination range manually.
    Alternatively, you can select Copy to clipboard to copy the data to the clipboard. If you select this option, the data can only be pasted in another activity in the project (it cannot be pasted manually).
  • What to copy - Select how to copy the data. The following options are available: All (the default option), Values, Formulas, Formats.
  • Transpose - If selected, the copied range is rotated (rows to columns and columns to rows). This option is not selected by default.

In the Properties Panel

Common

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

Input

Misc

  • Private - If selected, the data used in the activity is not logged by StudioX.

Updated 5 months ago


Copy Range


Suggested Edits are limited on API Reference Pages

You can only suggest edits to Markdown body content, but not to the API spec.