Hey guys,

I would like to be able to import a function as text (i.e. "x+2") and then convert that to a command in VBA so that I can use it as part of a calculation:

if A1 contains "x+2" I would have the code be

x=3
.
.
.
y=range("A1")
.
.
.

and have y be equal to 5. I dont know if this is even possible, but I would appreciate any input.