- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 277
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2024-12-23
|
¦^´_ 3# luke - Sub ex()
- Dim Rng As Range, r&, ar(), i%, j%, k%, n%, m$
- Set Rng = Range("A:C").SpecialCells(xlCellTypeConstants)
- r = 2
- For i = 1 To Rng.Areas.Count
- ar = Rng.Areas(i).Value
- For j = 1 To UBound(ar, 1)
- k = 1
- Do Until (Asc(Mid(ar(j, 3), k)) < 0 Or Asc(Mid(ar(j, 3), k)) > 256) And Asc(Mid(ar(j, 3), k + 1)) >= 0 And Asc(Mid(ar(j, 3), k + 1)) <= 256
- k = k + 1
- Loop
- m = Mid(ar(j, 3), k + 1)
- n = Application.Match(ar(j, 1), Array("¤Ú¤h", "¯¸µP°_ÂI", "¯¸µP¤¤Ä~A", "¯¸µP¤¤Ä~B", "¯¸µP²×ÂI"), 0)
- Cells(r, n + 4).Resize(3, 1) = Application.Transpose(Array(ar(j, 1), m, ar(j, 2)))
- Next
- r = r + 3
- Next
- End Sub
½Æ»s¥N½X |
|