|
楼主 |
发表于 2012-11-28 09:00
|
显示全部楼层
Sub Macro1()
'
' Macro1 Macro
'
Dim i As Integer
For i = 1 To 5
'
ActiveCell.Range("A1:M70").Select
Selection.Copy
ActiveCell.Offset(70, 0).Range("A1").Select
Selection.PasteSpecial Paste:=xlPasteAllUsingSourceTheme, Operation:=xlNone _
, SkipBlanks:=False, Transpose:=False
ActiveWindow.SmallScroll Down:=-84
ActiveCell.Offset(-70, 0).Rows("1:70").EntireRow.Select
Application.CutCopyMode = False
Selection.Copy
ActiveCell.Offset(70, 0).Rows("1:70").EntireRow.Select
Selection.PasteSpecial Paste:=xlPasteFormats, Operation:=xlNone, _
SkipBlanks:=False, Transpose:=False
Application.CutCopyMode = False
ActiveWindow.SmallScroll Down:=69
ActiveCell.Offset(70, 0).Range("A1").Select
Next
End Sub
不知道那错了,求指点 |
|