取得公式,然后计算
Dim str As String = "9+@(x-1.2)*3"str = str.Replace("@", "").Replace("x", 100)msgbox(Eval(str))