ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copy paste values only using destination:= (https://www.excelbanter.com/excel-programming/350216-copy-paste-values-only-using-destination-%3D.html)

Spike

copy paste values only using destination:=
 
Is it possible to use the copy past destination one liner to paste values
only?? If so i would be very grateful for the relevant code

Many thanks
--
with kind regards

Spike

Don Guillett

copy paste values only using destination:=
 
try
range("a1")=range("b2")

--
Don Guillett
SalesAid Software

"Spike" wrote in message
...
Is it possible to use the copy past destination one liner to paste values
only?? If so i would be very grateful for the relevant code

Many thanks
--
with kind regards

Spike




Spike

copy paste values only using destination:=
 
Obvious i suppose really!!!

Sorry brain totally out of gear. Many thanks.
--
with kind regards

Spike


"Don Guillett" wrote:

try
range("a1")=range("b2")

--
Don Guillett
SalesAid Software

"Spike" wrote in message
...
Is it possible to use the copy past destination one liner to paste values
only?? If so i would be very grateful for the relevant code

Many thanks
--
with kind regards

Spike





Don Guillett

copy paste values only using destination:=
 
Glad to help.
For an entire range use
range("a1:a5").value=range("b1:b5").value

--
Don Guillett
SalesAid Software

"Spike" wrote in message
...
Obvious i suppose really!!!

Sorry brain totally out of gear. Many thanks.
--
with kind regards

Spike


"Don Guillett" wrote:

try
range("a1")=range("b2")

--
Don Guillett
SalesAid Software

"Spike" wrote in message
...
Is it possible to use the copy past destination one liner to paste
values
only?? If so i would be very grateful for the relevant code

Many thanks
--
with kind regards

Spike








All times are GMT +1. The time now is 02:59 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com