可以使用vba自定义函数方式,或直接调用方式Function fmula(rng As Range)Dim str As Stringstr = rng.Valuefmula = Evaluate(str)End Function--------------------------------------sub test()dim str as stringstr=[a1].value[b1]=evaluate(str)end sub