Copy Sheet

You can select this activity to copy an existing worksheet, from a specific workbook, and paste as a new worksheet into the same or a different workbook.

This table lists the properties for the activity.

Property Type Property Name Data Type Description
Input From Worksheet String The name of the worksheet that must be copied. For example, Sheet1
From Workbook String The path of the workbook from which a worksheet must be copied. For example, C:\RPA\test.xlsx
To Worksheet String The name of the destination worksheet. For example, Sheet2 Note : Ensure that the worksheet is not already present in the workbook.
To Workbook String The path of the destination workbook For example, "C:\RPA\test_2.xlsx
Output Response code Int32 Response code for the activity. Possible values:
  • 200 to 290: Indicates a successful response or valid output.
  • 400 to 499: Indicates client error responses.
  • 500 to 599: Indicates server error responses