- ©«¤l
- 976
- ¥DÃD
- 7
- ºëµØ
- 0
- ¿n¤À
- 1018
- ÂI¦W
- 0
- §@·~¨t²Î
- Win10
- ³nÅ骩¥»
- Office 2016
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2013-4-19
- ³Ì«áµn¿ý
- 2024-12-18
|
¦^´_ 1# aer
½Ð´ú¸Õ¬Ý¬Ý¡AÁÂÁÂ
Sub test()
Dim Arr, a, i&
Arr = Range([d1], [a65536].End(3))
For i = 2 To UBound(Arr)
Arr(i, 2) = Left(Arr(i, 1), 3)
a = Mid(Arr(i, 1), 4)
If InStr(a, "¶m") Then
Arr(i, 3) = Split(a, "¶m")(0) & "¶m"
Arr(i, 4) = Split(a, "¶m")(1)
ElseIf InStr(a, "Âí") Then
Arr(i, 3) = Split(a, "Âí")(0) & "Âí"
Arr(i, 4) = Split(a, "Âí")(1)
ElseIf InStr(a, "¥«") Then
Arr(i, 3) = Split(a, "¥«")(0) & "¥«"
Arr(i, 4) = Split(a, "¥«")(1)
ElseIf InStr(a, "°Ï") Then
Arr(i, 3) = Split(a, "°Ï")(0) & "°Ï"
Arr(i, 4) = Split(a, "°Ï")(1)
End If
Next
Range("a1").Resize(UBound(Arr), 4) = Arr
End Sub |
|