- ©«¤l
- 835
- ¥DÃD
- 6
- ºëµØ
- 0
- ¿n¤À
- 915
- ÂI¦W
- 16
- §@·~¨t²Î
- Win 10,7
- ³nÅ骩¥»
- 2019,2013,2003
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-3
- ³Ì«áµn¿ý
- 2024-11-14
|
¦pÃD
¨Ò¦p¤W¹Ï¬°sheet1ªº¸ê®Æ
§Ú·Qn½Æ»s¤W±¨â¦C¨ìsheet2
µM«á¦b±N¤U±ªºÈ¨C¤®æ¨ú¤@Óª½¨ìshee ...
yaya1986 µoªí©ó 2016-5-2 14:47 - Sub nn()
- Dim lSRow&, lTRow&
- Dim rTar As Range
- Dim wsTar As Worksheet
-
- Set wsTar = Sheets("Sheet2")
-
- With Sheets("Sheet1")
- wsTar.Cells.Clear
- .[A1:D2].Copy wsTar.[A1]
- lTRow = 7
- lSRow = 3
- Set rTar = .Cells(lTRow, 1)
- While rTar + rTar.Offset(, 1) + rTar.Offset(, 2) + rTar.Offset(, 3) <> 0
- rTar.Resize(, 4).Copy wsTar.Cells(lSRow, 1)
- lSRow = lSRow + 1
- lTRow = lTRow + 5
- Set rTar = .Cells(lTRow, 1)
- Wend
- End With
- End Sub
½Æ»s¥N½X
¨C¹j5µ§½Æ»s-a.zip (7.59 KB)
|
|