怎样实现,向各位大侠求助,谢谢!作者: cola 时间: 2007-3-4 01:27
Sub X()
Dim MyNum
MyNum = Range("B65536").End(xlUp).Row
For i = 2 To MyNum
j = Range("F65536").End(xlUp).Row + 1
For k = 1 To Range("B" & i).Value
Range("A" & i & ":B" & i).Copy Range("E" & j)
j = j + 1
Next k
Next i
End Sub