LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Paste values

Hello. Please help.

I am trying, in a single VBA code line if possible, to
copy the entire sheet and "paste special - values" right
over the top of the existing data.

My code follows, but I get an error even though it seems
to me it should work. Can someone correct my code or
please supply me with a functional equivalent?

Cells.Copy Destination:=Range("A1").PasteSpecial _
(Paste:=xlPasteValues)

Thanks much in advance for your example code and
assistance.
 
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
find values in multiple cells and paste row values izzyt1972 Excel Discussion (Misc queries) 5 December 26th 07 10:14 PM
can you change the default paste method? (paste values) David A Brown Excel Discussion (Misc queries) 3 December 18th 07 09:59 AM
Paste values GDC Excel Worksheet Functions 0 June 9th 05 05:18 PM
Paste values ID GregR Excel Discussion (Misc queries) 1 December 13th 04 07:08 PM
Paste Values STEVEB Excel Programming 2 October 31st 03 05:14 PM


All times are GMT +1. The time now is 08:14 AM.

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

About Us

"It's about Microsoft Excel"