If Sheets("2006_1").Cells(1, j) = Sheets("Return").Cells(1, i) Then
S
heets("Return").Select
Sheets("Return").Range(Range("A" & i + 2), Range("A" & i + 2).Offset(0, 12)).Copy
With Sheets("2006_1")
.Select
.Range(Range("B" & j), Range("B" & j).Offset(0, 12)).Select
End With
ActiveSheet.Paste
Sheets("2006_1").Select
End If
Next
Next
End Sub作者: ldneye 時間: 2013-10-31 23:54
抱歉
If Sheets("2006_1").Cells(1, j) = Sheets("Return").Cells(1, i) Then
應該是
If Sheets("2006_1").Cells(j,1) = Sheets("Return").Cells( i,1) Then作者: ldneye 時間: 2013-11-4 00:58