PC Review


Reply
Thread Tools Rate Thread

copy and paste contents of sheet

 
 
michlite@gmail.com
Guest
Posts: n/a
 
      15th Nov 2006
I want to copy an entire sheet and paste it into another existing
sheet. Using the code below causes my cpu to peg for serveral minutes.
The range is usually around a1 to h400.

Here is the code I am using:

Worksheets(2).Select
Cells.Select
Selection.Copy

Worksheets(3).Select
ActiveSheet.Paste
Application.CutCopyMode = False

Thanks for any help you can provide.

 
Reply With Quote
 
 
 
 
=?Utf-8?B?VG9tIE9naWx2eQ==?=
Guest
Posts: n/a
 
      15th Nov 2006
Worksheets(2).Range("A1:H400").Copy _
Worksheets(3).Range("A1")
Application.CutCopyMode = False

--
Regards,
Tom Ogilvy


"(E-Mail Removed)" wrote:

> I want to copy an entire sheet and paste it into another existing
> sheet. Using the code below causes my cpu to peg for serveral minutes.
> The range is usually around a1 to h400.
>
> Here is the code I am using:
>
> Worksheets(2).Select
> Cells.Select
> Selection.Copy
>
> Worksheets(3).Select
> ActiveSheet.Paste
> Application.CutCopyMode = False
>
> Thanks for any help you can provide.
>
>

 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OLEObjects - Paste combobox contents to a sheet James Microsoft Excel Programming 4 4th Apr 2009 02:11 PM
Copy Paste from Class Sheet to Filtered List on Combined Sheet prkhan56@gmail.com Microsoft Excel Programming 6 16th Sep 2008 04:30 PM
Help to code Macro to Copy fron one sheet and paste in other sheet kay Microsoft Excel Programming 3 25th Jul 2008 06:46 PM
Copy and paste contents of one sheet into another Darin Kramer Microsoft Excel Programming 1 20th Aug 2007 05:54 PM
Cannot paste contents to another sheet JohnnyMo Microsoft Excel Misc 0 5th Nov 2003 08:16 PM


Features
 

Advertising
 

Newsgroups
 


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