ÁÂÁ§A´£¨Ñ¡A¦b¬Ý§Aªº¤½¦¡®É¡A¤]Åý§Ú·Q¨ì¥t¤@ºØ²³æ¼gªk(¦CÁ|ªk)
Function MyCal(MyStr$) As Double
Dim Dic As String, xStr As String
Dic = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ.0123456789%+-*/^()"
For i = 1 To Len(MyStr)
If InStrB(1, Dic, Mid(MyStr, i, 1), 1) <> 0 Then
xStr = xStr & Mid(MyStr, i, 1)
End If
Next i
MyCal = Evaluate(xStr)
End Function