VP MOVE CELLS
História
Release | Mudanças |
---|---|
19 R4 | Adicionado |
VP MOVE CELLS ( originRange : Object ; targetRange : Object ; options : Object )
Parâmetro | Tipo | Descrição | ||
---|---|---|---|---|
originRange | Object | -> | Intervalo de células a partir do qual copiar | |
targetRange | Object | -> | Intervalo de destino para os valores, formatação e fórmulas | |
options | Object | -> | Opções adicionais |
Descrição
O comando VP MOVE CELLS
move ou copia os valores, estilo e fórmulas de originRange para targetRange.
originRange and targetRange can refer to different View Pro areas.
In originRange, pass a range object containing the values, style, and formula cells to copy or move. Se originRange for um intervalo combinado, somente o primeiro será usado.
In targetRange, pass the range of cells where the cell values, style, and formulas will be copied or moved.
O parâmetro options tem várias propriedades:
Propriedade | Tipo | Descrição | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
copy | Parâmetros | Determines if the values, formatting and formulas of the cells in originRange are removed after the command executes:
| ||||||||||||||
pasteOptions | Integer | Especifica o que é colado. Possible values:
|
As opções de colagem definidas nas opções de workbook são tomadas em conta.
Exemplo
Para copiar os conteúdos, valores, formatação e fórmulas de um intervalo de origem:
var $originRange; $targetRange; $options : Object
$originRange:=VP Cells("ViewProArea"; 0; 0; 2; 5)
$targetRange:=VP Cells("ViewProArea"; 4; 0; 2; 5)
$options:=New object
$options.copy:=True
$options.pasteOptions:=vk clipboard options all
VP MOVE CELLS($originRange; $targetRange; $options)
Veja também
VP Copy to object
VP PASTE FROM OBJECT
VP SET WORKBOOK OPTIONS