Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am writing a macro that will select Rows 4-10 and copy them and then past
them in row 11. I can do that but what I really would like the macro to do the next time is to select row 11-17 and copy in row 18. Is there any way that the macrro will select the 7 row with text and copy that formula to the next seven rows. This is what I did if that helps. Sub ResetWeek() ' ' ResetWeek Macro ' Macro recorded 6/12/2008 by dpitzer ' ' Sheets("Total").Select ActiveWindow.SmallScroll Down:=-12 Rows("4:10").Select Selection.Copy Range("A11").Select ActiveSheet.Paste Rows("4:10").Select Application.CutCopyMode = False Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Writing Macro in Excel 07 | Excel Worksheet Functions | |||
Help Writing A Macro in Excel | Excel Programming | |||
Writing macro in Excel | Excel Worksheet Functions | |||
Writing Excel Macro | Excel Worksheet Functions | |||
writing Macro in Excel | Excel Programming |