Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 92
Default 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 ?


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default 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 ?


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,953
Default 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 ?


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set Paste:=xlPasteValues for all paste operations? [email protected] Excel Programming 2 September 7th 06 06:23 AM
Ron de Bruin - Using PasteSpecial (xlPasteValues) instead of Copy Bob Excel Programming 8 August 16th 06 07:56 PM
Check if clipboard is empty before .PasteSpecial xlPasteValues Spaan Excel Programming 2 August 23rd 04 03:13 PM
ActiveCell.PasteSpecial (xlPasteValues) hangs program hals_left Excel Programming 3 June 9th 04 11:18 AM


All times are GMT +1. The time now is 05:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"