Paste
Pastes the contents of the clipboard to the current sheet.
Syntax
expression.Paste(destination);
expression - A variable that represents a ApiWorksheet class.
Parameters
| Name | Required/Optional | Data type | Default | Description | 
|---|---|---|---|---|
| destination | Optional | ApiRange | The cell range where the clipboard contents should be pasted. If this argument is omitted, the current selection is used. | 
Returns
This method doesn't return any data.
Example
This example shows how to paste date from clipboard.
- Code
 - Result
 
// How to paste a copied or cut data from the clipboard.
// Paste to the worksheet.
let worksheet = Api.GetActiveSheet();
worksheet.Paste();