Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to copy from each sheet and paste to a summary sheet

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,123
Default How to copy from each sheet and paste to a summary sheet

See
http://www.rondebruin.nl/copy2.htm

--

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


wrote in message ...
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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default How to copy from each sheet and paste to a summary sheet

Thanks.

I'll try it out on Monday.
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
Copy from one Sheet and paste on another sheet based on condition Prem Excel Discussion (Misc queries) 2 December 24th 07 05:05 AM
How can i copy data from a tabbed working sheet to a summary sheet StephenF Excel Discussion (Misc queries) 1 March 15th 07 03:40 PM
Active Cell Copy And Paste Sheet to Sheet A.R.J Allan Jefferys New Users to Excel 4 May 4th 06 02:04 AM
copying and paste data from each worksheet to a summary work sheet mary Excel Programming 5 January 21st 05 05:25 PM
automatic copy and paste from sheet to sheet in a workbook ramseyjramseyj Excel Programming 6 December 11th 04 12:37 AM


All times are GMT +1. The time now is 10:58 PM.

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"