VP MOVE CELLS
Historia
Lanzamiento | Modificaciones |
---|---|
19 R4 | Añadidos |
VP MOVE CELLS ( originRange : Object ; targetRange : Object ; options : Object )
Parámetros | Tipo | Descripción | ||
---|---|---|---|---|
originRange | Object | -> | Rango de celdas desde donde copiar | |
targetRange | Object | -> | Rango de destino para los valores, el formato y las fórmulas | |
options | Object | -> | Opciones adicionales |
Descripción
El comando VP MOVE CELLS
mueve o copia los valores, estilo y fórmulas de originRange a targetRange.
originRange y targetRange pueden referirse a diferentes áreas View Pro.
En originRange, pase un objeto rango que contenga los valores, el estilo y las celdas de la fórmula a copiar o mover. If originRange is a combined range, only the first one is used.
In targetRange, pass the range of cells where the cell values, style, and formulas will be copied or moved.
El parámetro options tiene varias propiedades:
Propiedad | Tipo | Descripción | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
copy | Boolean | Determines if the values, formatting and formulas of the cells in originRange are removed after the command executes:
| ||||||||||||||
pasteOptions | Longint | Especifica lo que se pega. Possible values:
|
Se tienen en cuenta las opciones de pegado definidas en las opciones del libro de trabajo.
Ejemplo
Para copiar el contenido, los valores, el formato y las fórmulas de un rango origen:
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)
Ver también
VP Copy to object
VP PASTE FROM OBJECT
VP SET WORKBOOK OPTIONS