June 4th, 2004, 10:10 pm
That is the difficulty of trying to switch between mathematical notation and excel notation.If you're not insistent on them entering in the equation in mathematical notation, I'd get them to enter the function in the spreadsheet, as per my previous response.If you want them to enter in the equation in the form "=x^3 + 3 x", you could try and use VBA's string functions to parse the equation, replacing all instances of x with the number in question. The obvious difficulty is, for example, if x=5, you will get "=5^3 + 3 5" - not what you're after.I guess you could force the user to use the form "=(x)^3 + 3*(x)".When you've got the whole column of values, do you want them to be values, or the formula?