ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   copy destination values (https://www.excelbanter.com/excel-programming/325943-copy-destination-values.html)

Pete[_23_]

copy destination values
 
This works

Worksheets("sheet1").Range("b17:o17").Copy _
Destination:=Worksheets("Week " & WeekSheet).Cells(NextRow, "F")

But I only want to copy the values not the formats. So how do I change the
above to paste just the values?


Ron de Bruin

copy destination values
 
Hi Pete

See how I use resize in this example on this page and use use the value property
http://www.rondebruin.nl/copy1.htm#range1



--
Regards Ron de Bruin
http://www.rondebruin.nl



"Pete" wrote in message ...
This works

Worksheets("sheet1").Range("b17:o17").Copy _
Destination:=Worksheets("Week " & WeekSheet).Cells(NextRow, "F")

But I only want to copy the values not the formats. So how do I change the
above to paste just the values?





All times are GMT +1. The time now is 12:33 PM.

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