ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   xlPasteValues (https://www.excelbanter.com/excel-programming/385081-xlpastevalues.html)

Dale

xlPasteValues
 
This works great to copy/paste from one sheet to another,
rng1.EntireRow.Copy Destination:=Worksheets("Hist").Cells(Rows.Count,
1).End(xlUp)(2)

What would the code be to copy/paste values ?



Ron de Bruin

xlPasteValues
 
Hi Dale

You can see here two examples
xlPasteValues and the Value property

http://www.rondebruin.nl/copy1.htm



--

Regards Ron de Bruin
http://www.rondebruin.nl/tips.htm


"Dale" wrote in message ...
This works great to copy/paste from one sheet to another,
rng1.EntireRow.Copy Destination:=Worksheets("Hist").Cells(Rows.Count,
1).End(xlUp)(2)

What would the code be to copy/paste values ?



Tom Ogilvy

xlPasteValues
 
rng1.EntireRow.Copy

Worksheets("Hist").Cells(Rows.Count,1) _
.End(xlUp)(2).PasteSpecial xlValues

--
Regards,
Tom Ogilvy


"Dale" wrote:

This works great to copy/paste from one sheet to another,
rng1.EntireRow.Copy Destination:=Worksheets("Hist").Cells(Rows.Count,
1).End(xlUp)(2)

What would the code be to copy/paste values ?




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

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