|
|
发表于 5-10-2009 03:30 PM
|
显示全部楼层
希望可以帮到你!~- Sub test()
- x = 1 '可以换去你data的最高层
- 'column B=2, D=4, I=9, J=10
- Do Until Cells(x, 9) = "" And Cells(x, 4) = ""
- Application.CutCopyMode = False
- Cells(x, 9).Copy
- Cells(x, 2).PasteSpecial
- Application.CutCopyMode = False
- Cells(x, 4).Copy
- Cells(x, 10).PasteSpecial
- x = x + 1
- Loop
- End Sub
复制代码 |
|