Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm trying to help someone with this looping this macro. Here's his code:
ActiveCell.Range("A1:G1").Select Selection.Copy ActiveCell.Offset(-30, 0).Range("A1").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False ActiveCell.Offset(24, -3).Range("A1").Select Application.CutCopyMode = False Selection.Copy ActiveSheet.Next.Select ActiveCell.Offset(1, 0).Range("A1").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False End Sub I'm a rather inexperienced programmer, but my thoughts were to wrap this with a For...Next which I think I could figure out. But, I also think that the macro will have to begin in a certain cell each time in order for his offsets to work. So, any help would be appreciated that starts this macro at E36 and loops it like 5000 times. Thanks very much. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro Loop | Excel Discussion (Misc queries) | |||
Help with using a Macro Loop | Excel Discussion (Misc queries) | |||
macro loop | Excel Discussion (Misc queries) | |||
how can i loop a macro | Excel Discussion (Misc queries) | |||
VBA Macro Loop | Excel Programming |