Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The following is a simple recorded macro, nothing written by myself bu
what I am looking for is to repeat these same steps over multipl sheets but the problem I have is finding the line of code to put befor each paste that will make sure I am pasting just below the previou paste. The sheets are all of varying length so I can never be sur which cell will be the bottom cell. Thanks for the help. Sub Master_Copy2() Sheets("L-96").Select Range("A1").Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Select Selection.Copy Sheets("Master").Select ActiveSheet.Paste Range("A1").Select Sheets("L-95").Select Range("A1").Select Range(Selection, Selection.End(xlToRight)).Select Range(Selection, Selection.End(xlDown)).Select Selection.Copy Sheets("Master").Select End Su -- Message posted from http://www.ExcelForum.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Simple calc not working as expected - what am I missing? | Excel Discussion (Misc queries) | |||
Tab Line Missing | Excel Discussion (Misc queries) | |||
Data entry line missing | Setting up and Configuration of Excel | |||
Line chart even though values missing | Charts and Charting in Excel | |||
Probably missing something simple in loop macro...Please help | Excel Programming |