作者: szcsm 时间: 2006-6-9 22:33
谢谢!我测试一下先。作者: nawong2008 时间: 2006-6-10 01:58
Function nawong()
For Each Cell In Selection.Cells
Cell = Trim(Cell)
For i = Len(Cell) To 1 Step -1
keyascA = Mid(Cell, i, 1)
Debug.Print Asc(keyascA)
If Asc(keyascA) < 65 Or Asc(keyascA) > 122 Or Asc(keyascA) > 90 And Asc(keyascA) < 97 Then
Cell.Offset(, 1) = Mid(Cell, i + 1)
Exit For
End If
Next
Next
End Function