Function fsum(re)
Dim n As Integer
Dim i As Integer
Dim str As String
Dim stra
n = Len(re)
For i = 1 To n
str = Mid(re, i, 1)
If InStr(1, "1234567890+-*/().", str) <> 0 Then
stra = stra & str
End If
Next
stra = "=" & stra
fsum = Evaluate(stra)
End Function 作者: 浮华尽去 时间: 2006-5-10 21:00
不解bz的方法!