ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Copy and Paste Macro (https://www.excelbanter.com/excel-discussion-misc-queries/219083-copy-paste-macro.html)

Schwimms

Copy and Paste Macro
 
Hi!

I have several sheets with different names all one after the other. Such as:

Addison, Gary, Twin Lakes, .... etc

I need to create a macro that will go through each one of those sheets and
copy row 2 down to the last piece of data and paste it in a main sheet, we
can call it "IL". Sometimes row 2 and below will be blank so I need to skip
to the next sheet.

Any ideas?

Dave Peterson

Copy and Paste Macro
 
I'd start with Ron de Bruin's site:
http://msdn.microsoft.com/en-us/library/cc793964.aspx

Schwimms wrote:

Hi!

I have several sheets with different names all one after the other. Such as:

Addison, Gary, Twin Lakes, .... etc

I need to create a macro that will go through each one of those sheets and
copy row 2 down to the last piece of data and paste it in a main sheet, we
can call it "IL". Sometimes row 2 and below will be blank so I need to skip
to the next sheet.

Any ideas?


--

Dave Peterson


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

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com