Saltar para o conteúdo principal
Versão: 21

VP PASTE FROM OBJECT

História
ReleaseMudanças
19 R4Adicionado

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

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

Descrição​

O comando VP PASTE FROM OBJECT cola o conteúdo, o estilo e as fórmulas armazenadas em dataObject no objeto rangeObj.

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.

Na opção opcional options, você pode especificar o que colar no intervalo de células. Valores possíveis:

ConstantDescription
vk clipboard options allPastes all data objects, including values, formatting, and formulas.
vk clipboard options formattingPastes only the formatting.
vk clipboard options formulasPastes only the formulas.
vk clipboard options formulas and formattingPastes formulas and formatting.
vk clipboard options valuesPastes only values.
vk clipboard options value and formattingPastes values and formatting.

As opções de colagem definidas nas opções de workbook são tomadas em conta.

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

Veja também​

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