4D v13

PV SPECIAL PASTE

Home

 
4D View v13
PV SPECIAL PASTE

PV SPECIAL PASTE 


 

PV SPECIAL PASTE ( area ; value ; formula ; format ; borders ) 
Parameter Type   Description
area  Longint in 4D View area
value  Integer in 0 = Do not paste; 1 = Paste
formula  Integer in 0 = Do not paste; 1 = Paste
format  Integer in 0 = Do not paste; 1 = Paste
borders  Integer in 0 = Do not paste; 1 = Paste

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

 
PROPERTIES 

Product: 4D
Theme: PV Cell manipulation
Number: 15905

 
INDEX

Alphabetical list of commands

 
HISTORY 

Created: 4D View 6.8

 
SEE ALSO 

PV SPECIAL CLEAR
PV SPECIAL CUT