|
本帖最后由 p_gq 于 2013-4-26 13:52 编辑
Sub Macro1()
'
' Macro1 Macro
' 宏由 user 录制,时间: 2013-4-26
'
'
Sheets("内销库").Select
Rows("2:2").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("内销库").Select
Rows("3:3").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("内销库").Select
Rows("4:4").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("内销库").Select
Rows("5:5").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
Sheets("内销库").Select
Rows("6:6").Select
Selection.Copy
Sheets("Sheet1").Select
ActiveSheet.Paste
Application.CutCopyMode = False
End Sub
这个怎么改成逐行复制到最后一行,因为有很多行
|
|