Saltar para o conteúdo principal
Versão: 20 R6

VP PASTE FROM OBJECT

História
ReleaseMudanças
19 R4Adicionado

VP PASTE FROM OBJECT ( rangeObj : Object ; dataObject : Object {; options : Longint} )

ParâmetroTipoDescrição
rangeObjObject->Objeto intervalo de células
dataObjectObject->Objeto que contém os dados a colar
optionsLongint->Especifica o que é colado

Descrição

The VP PASTE FROM OBJECT command pastes the contents, style and formulas stored in dataObject to the rangeObj object.

In rangeObj, pass the cell range object where the values, formatting, and/or formula cells will be pasted. Se rangeObj se refere a mais de uma célula, apenas a primeira é usada.

In dataObject, pass the object that contains the cell data, formatting, and formulas to be pasted.

In the optional options parameter, you can specify what to paste in the cell range. Valores possíveis:

|Constant|Description| |---|---|---| |vk clipboard options all|Pastes all data objects, including values, formatting, and formulas.| |vk clipboard options formatting|Pastes only the formatting.| |vk clipboard options formulas|Pastes only the formulas.| |vk clipboard options formulas and formatting|Pastes formulas and formatting.| |vk clipboard options values|Pastes only values.| |vk clipboard options value and formatting|Pastes values and formatting.|

The paste options defined in the workbook options are taken into account.

If options refers to a paste option not present in the copied object (e.g. formulas), the command does nothing.

Exemplo

Veja o exemplo de [VP Copy to object] (vp-copy-to-object.md)

Veja também

VP Copy to object
VP MOVE CELLS
VP Get workbook options
VP SET WORKBOOK OPTIONS