Command PV SPECIAL PASTE

4D View

PV SPECIAL PASTE

version 6.8


PV SPECIAL PASTE (area; value; formula; format; borders)

ParameterTypeDescription
areaLongint4D View area
valueInteger0 = Do not paste; 1 = Paste
formulaInteger0 = Do not paste; 1 = Paste
formatInteger0 = Do not paste; 1 = Paste
bordersInteger0 = Do not paste; 1 = Paste

Description

The PV SPECIAL PASTE command pastes, from cells contained on the clipboard, information defined in the value, formula, format and borders parameters in the current cell of area.

This command allows reusing data that was first "cut" by the PV SPECIAL CUT or copied using PV EXECUTE COMMAND (area; pv cmd edit copy).

Example

This example simulates a copy/paste of the value and format. It cuts the value and format of cell B2 and then pastes all of it in cell E2:

   PV GOTO CELL (Area;2;2)  `Starting cell: B2
   PV SPECIAL CUT (Area;1;0;1;0)  `Cut value and format
   PV GOTO CELL (Area;5;2)  `Destination cell: E2
   PV SPECIAL PASTE (Area;1;0;1;0)  `Paste value and format

See Also

PV SPECIAL CLEAR, PV SPECIAL CUT.