åè®¾ä½ çæ°æ®å¨Aå,ä»A1å¼å§.æ们å¯ä»¥è¿ä¹äºVBA
Sub aa()
Dim i, a, b, c 'å®ä¹åé
For i = 1 To Range("A65536").End(xlUp).Row '循ç¯Aåææææ°æ®çåºå
c = Cells(i, 1).Value 'åå¾å½ååå
æ ¼çå¼ç»c
b = Left(c, InStr(c, " ")) 'æªååå
æ ¼ä¸çæ¥æç»b
a = Right(c, Len(c) - InStr(c, " ")) 'æªååå
æ ¼ä¸çæ¶é´ç»c
Cells(i, 1) = b & vbCrLf & a 'å¨æ¥æåæ¶é´å ä¸
æ¢è¡ç¬¦vbcrlf,ååå
¥å½ååå
æ ¼
Next
End Sub