Paste

function Paste(destination: ApiRange = null): void

Description

Pastes the contents of the clipboard to the current sheet.

Parameters

destinationApiRangedefault: null

The cell range where the clipboard contents should be pasted. If this argument is omitted, the current selection is used.

Returns

void

Try It

var oWorksheet = Api.GetActiveSheet();
oWorksheet.Paste();

Get Help

  • If you have any questions about ONLYOFFICE Docs, try the FAQ section first.
  • You can request a feature or report a bug by posting an issue on GitHub.
  • You can also ask our developers on ONLYOFFICE forum (registration required).