Function RemoveSymbol(StrK As String) As String
dim i as long
for i=-32768 to -32193
StrK=Replace(StrK,chr(i),"")
next
for i=-24159 to -24000
StrK=Replace(StrK,chr(i),"")
next
Function 作者: 方漠 时间: 2010-7-22 09:25
嗯,这个思路也很不错,不过代码好像漏了一句,另外一些符号也没有去掉,如*?!之类的,可能还需要加多一个FOR.
Function RemoveSymbol(StrK As String) As String
Dim i As Long
For i = -32768 To -32193
StrK = Replace(StrK, Chr(i), "")
Next
For i = -24159 To -24000
StrK = Replace(StrK, Chr(i), "")
Next