- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 255
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-11-25
|
¦^´_ 3# viggostar - Sub Ex()
- Dim Ar(), Ay(4), Rng As Range, Ck(), Kr(), A As Range, i%, s&
- With Sheet1
- Ck = Array("V", "AD", "AO", "AA")
- Kr = Array("C", "E", "H", "K")
- Set Rng = .Range(.[C5], .[C65536].End(xlUp)).SpecialCells(xlCellTypeVisible)
- For Each A In Rng
- For i = 0 To 3
- Ay(i) = "'" & .Cells(A.Row, Ck(i))
- Next
- ReDim Preserve Ar(s)
- Ar(s) = Ay
- s = s + 1
- Next
- End With
- For i = 0 To UBound(Ar)
- Set A = Sheet3.[C65536].End(xlUp).Offset(1, 0)
- For j = 0 To 3
- Sheet3.Cells(A.Row, Kr(j)) = Ar(i)(j)
- Next
- Next
-
- End Sub
½Æ»s¥N½X |
|