PC Review


Reply
Thread Tools Rate Thread

How to copy from each sheet and paste to a summary sheet

 
 
gordeos@gmail.com
Guest
Posts: n/a
 
      18th Jan 2008
Hi,

New user needs some help, please.
I have a workbook with 197 sheets. All the 197 sheets have the same
format (2 columns and 121 rows). I would like to copy data from each
sheet to a summary sheet ("Sheet1") to make a long list.
I don't know how to move to the next sheet in the For Next Loop.

Here is the code to copy and paste one sheet at a time:

Sheets("2741").Select
Range("A2").Select
Range(Selection, Selection.End(xlDown)).Select
Range("A2:B121").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Range("A122").Select
Selection.End(xlDown).Select
Range("A241").Select
Sheets("2743").Select
Range("A2").Select
Range(Selection, Selection.End(xlDown)).Select
Range("A2:B121").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Range("A242").Select
Selection.End(xlDown).Select
Range("A361").Select
Sheets("2744").Select
Range("A2").Select
Range(Selection, Selection.End(xlDown)).Select
Range("A2:B121").Select
Application.CutCopyMode = False
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste


Thanks for helping
 
Reply With Quote
 
 
 
 
Ron de Bruin
Guest
Posts: n/a
 
      18th Jan 2008
See
http://www.rondebruin.nl/copy2.htm

--

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


<(E-Mail Removed)> wrote in message news:cfc5c03f-7a0d-4205-8cbc-(E-Mail Removed)...
> Hi,
>
> New user needs some help, please.
> I have a workbook with 197 sheets. All the 197 sheets have the same
> format (2 columns and 121 rows). I would like to copy data from each
> sheet to a summary sheet ("Sheet1") to make a long list.
> I don't know how to move to the next sheet in the For Next Loop.
>
> Here is the code to copy and paste one sheet at a time:
>
> Sheets("2741").Select
> Range("A2").Select
> Range(Selection, Selection.End(xlDown)).Select
> Range("A2:B121").Select
> Application.CutCopyMode = False
> Selection.Copy
> Sheets("Sheet1").Select
> ActiveSheet.Paste
> Range("A122").Select
> Selection.End(xlDown).Select
> Range("A241").Select
> Sheets("2743").Select
> Range("A2").Select
> Range(Selection, Selection.End(xlDown)).Select
> Range("A2:B121").Select
> Application.CutCopyMode = False
> Selection.Copy
> Sheets("Sheet1").Select
> ActiveSheet.Paste
> Range("A242").Select
> Selection.End(xlDown).Select
> Range("A361").Select
> Sheets("2744").Select
> Range("A2").Select
> Range(Selection, Selection.End(xlDown)).Select
> Range("A2:B121").Select
> Application.CutCopyMode = False
> Selection.Copy
> Sheets("Sheet1").Select
> ActiveSheet.Paste
>
>
> Thanks for helping

 
Reply With Quote
 
gordeos@gmail.com
Guest
Posts: n/a
 
      18th Jan 2008
Thanks.

I'll try it out on Monday.
 
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
Complex Question. Index/Match then Copy/Paste to Summary Sheet ryguy7272 Microsoft Excel Programming 3 9th Dec 2008 06:34 AM
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
How can i copy data from a tabbed working sheet to a summary sheet =?Utf-8?B?U3RlcGhlbkY=?= Microsoft Excel Misc 1 15th Mar 2007 03:40 PM
automatic copy and paste from sheet to sheet in a workbook =?Utf-8?B?cmFtc2V5anJhbXNleWo=?= Microsoft Excel Programming 6 11th Dec 2004 12:37 AM


Features
 

Advertising
 

Newsgroups
 


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