How to turn a string formula into a “real” formula

前端 未结 8 925
情深已故
情深已故 2020-11-22 12:15

I have 0,4*A1 in a cell (as a string). How can convert this \"string formula\" into a real formula and calculate its value, in another cell?

8条回答
  •  梦谈多话
    2020-11-22 13:01

    Evaluate might suit:

    http://www.mrexcel.com/forum/showthread.php?t=62067

    Function Eval(Ref As String)
        Application.Volatile
        Eval = Evaluate(Ref)
    End Function
    

提交回复
热议问题