怎样设置公式、代码?谢谢作者: wuaza 时间: 2006-11-19 00:03
用replace函数。作者: fan0217 时间: 2006-11-19 03:58
Function MyReplace(expression As String, replace As String) As String
Dim varTemp As Variant
Dim i As Integer
Dim strTemp As String
varTemp = Split(replace, " ")
strTemp = expression
For i = 0 To UBound(varTemp)
strTemp = Replace(strTemp, varTemp(i), "")
Next
MyReplace = strTemp
End Function