- ©«¤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
|
- Sub test()
- a = Range([a2], [a65536].End(3))
- ReDim arr(1 To UBound(a), 1 To 3)
- For i = 1 To UBound(a)
- arr(i, 1) = Val(a(i, 1))
- If InStr(a(i, 1), "+") Then arr(i, 2) = Val(Mid(a(i, 1), InStr(a(i, 1), "+") + 1))
- If InStr(a(i, 1), "/") Then arr(i, 3) = Val(Mid(a(i, 1), InStr(a(i, 1), "/") + 1))
- Next
- [b2].Resize(UBound(a), 3) = arr
- End Sub
½Æ»s¥N½X |
|