- ©«¤l
- 1572
- ¥DÃD
- 16
- ºëµØ
- 2
- ¿n¤À
- 1521
- ÂI¦W
- 0
- §@·~¨t²Î
- xp
- ³nÅ骩¥»
- office 2003
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2016-1-13
|
¬Ý°_¨Ó§A¤j·§·Q³o¼Ë¡G- Private Sub CommandButton1_Click()
- Dim a, r%, i%, arr()
- With Sheets("1")
- a = .Range(.[c10], .[e10].End(4))
- End With
- r = 1
- For i = 1 To UBound(a)
- ReDim Preserve arr(1 To 3, 1 To r)
- arr(1, r) = a(i, 1): arr(2, r) = a(i, 2): arr(3, r) = a(i, 3)
- r = r + 6
- Next
- Sheets("2").[c4].Resize(r - 6, 2) = Application.Transpose(arr)
- Sheets("2").[k4].Resize(r - 6, 1) = Application.Transpose(Application.Index(arr, 3))
- End Sub
½Æ»s¥N½X |
|