Paste range from clipboard Version 1 (Python)
Action group: Office
Description
Action inserts a range of cells from the clipboard
Action icon
Settings of parameters
Property | Description | Type | Filling example | Mandatory field |
Parameters | ||||
Context | Action context for ods/xlsx document | Robin.OpenSheetD oc | Yes | |
Start cell | The address of the starting cell where the range will be inserted. The default is A1. Fill in the format «XY», where «X» is the column number and «Y» is the line number. | Robin.String | No |
Special conditions of use
None.
Example of use
Task
There is an Excel document "Test" with a table.
It is necessary to copy this table to the clipboard and paste it two rows below, starting from cell A7.
Solution
Use the actions "Open", "Copy range to clipboard", "Paste range from clipboard", "Save".
Implementation
- Assemble a robot scheme consisting of actions:
Set the "Path to file" parameter for the "Open" action.
- Set the "Context" parameter for the "Copy range to clipboard" action. Do not fill in the other fields, as it is necessary to copy the table completely.
- Set the parameters for the "Paste range from clipboard" action. Set the "Context" parameter, as well as specify the initial cell for data insertion. (А7)
- Set the "Context" parameter for the "Save" action. In the "Context" parameter specify the context of the Excel document.
- Launch the robot using the "Start" button in the top panel.
Result
The program robot completed successfully.
The table is copied and pasted starting in cell A7.
Обзор
Инструменты контента