- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¦^´_ 1# cmo140497 - Sub ¥¨¶°2()
- Dim MyTEXT As String, ar, j As Integer
- MyTEXT = "AAA:000 001 002 003"
- j = 1
- If MyTEXT Like AAA & "*" Then
- Cells(1, j).Value = Split(MyTEXT, ":")(0)
- ar = Split(Split(MyTEXT, ":")(1), " ")
- With Cells(1, j + 1).Resize(, UBound(ar) + 1)
- .Value = ar
- .Value = .Value '½d³òªºÈ=½d³òªºÈ
- End With
- 'Result : Cells(1,1)=AAA , Cells(1,2)=000 , Cells(1,3)=001 , Cells(1,4)=002, Cells(1,5)=003
- '¦p¦ó±N000 001 002 003 Âà´«¬°¼Æ¦rCells(1,2)=0 , Cells(1,3)=1 , Cells(1,4)=2, Cells(1,5)=3
- End If
- End Sub
½Æ»s¥N½X |
|