如何将字符串公式转换为“真实"字符串公式? [英] How to turn a string formula into a "real" formula?

查看:93
本文介绍了如何将字符串公式转换为“真实"字符串公式?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的单元格中有 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

这篇关于如何将字符串公式转换为“真实"字符串公式?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆