如何将字符串公式转换为“真实"字符串公式?
问题描述:
我的单元格中有 0,4 * A1
(作为字符串).如何在另一个单元格中将字符串公式"转换为真实公式并计算其值?
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?
答
评估
可能适合:
http://www.mrexcel.com/forum/showthread.php?t = 62067
Function Eval(Ref As String)
Application.Volatile
Eval = Evaluate(Ref)
End Function